**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| storeIdHeader |
|---|
| 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/settings/account-authentication/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:25 GMT
< content-length: 453
< connection: close
<
< {
"data": {
"id": "00000000-0000-1000-8000-000000000000",
"type": "account_authentication_settings",
"relationships": {
"authentication_realm": {
"data": {
"id": "00000000-0000-1000-8000-111111111111",
"type": "authentication_realm",
"links": {
"self": "http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111"
}
}
}
},
"meta": {
"client_id": "account-management"
}
},
"links": {
"self": "http://localhost:8087/v2/settings/account-authentication"
}
}
| type | id | clientId | realmType | realmId | realmSelfLink |
|---|---|---|---|---|---|
| account_authentication_settings | 00000000-0000-1000-8000-000000000000 | account-management | authentication_realm | 00000000-0000-1000-8000-111111111111 | /v2/authentication-realms/00000000-0000-1000-8000-111111111111 |
| storeIdHeader | storeIdPathParameter |
|---|---|
| 00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/settings/account-authentication/00000000-0000-1000-8000-000000000000
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:25 GMT
< content-length: 490
< connection: close
<
< {
"data": {
"id": "00000000-0000-1000-8000-000000000000",
"type": "account_authentication_settings",
"relationships": {
"authentication_realm": {
"data": {
"id": "00000000-0000-1000-8000-111111111111",
"type": "authentication_realm",
"links": {
"self": "http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111"
}
}
}
},
"meta": {
"client_id": "account-management"
}
},
"links": {
"self": "http://localhost:8087/v2/settings/account-authentication/00000000-0000-1000-8000-000000000000"
}
}
AssertionError: Unexpected status code in the latest response: expected 200 to equal 500
+ expected - actual
-200
+500
at ResponseAssertionSteps.assertResponseCode (/Users/pazarau/workspace/account-management.svc/component-tests/steps/response-assertion-steps.ts:13:63)
at World.bindingFunc (/Users/pazarau/workspace/account-management.svc/component-tests/node_modules/cucumber-tsflow/src/binding-decorator.ts:172:22)
| type | id | clientId | realmType | realmId | realmSelfLink |
|---|---|---|---|---|---|
| account_authentication_settings | 00000000-0000-1000-8000-000000000000 | account-management | authentication_realm | 00000000-0000-1000-8000-111111111111 | /v2/authentication-realms/00000000-0000-1000-8000-111111111111 |
| storeIdHeader | url |
|---|---|
| 00000000-0000-1000-8000-000000000000 | /v2/account-authentication-settings/ |
| type | id | clientId | realmType | realmId | realmSelfLink |
|---|---|---|---|---|---|
| account_authentication_settings | 00000000-0000-1000-8000-000000000000 | account-management | authentication_realm | 00000000-0000-1000-8000-111111111111 | /v2/authentication-realms/00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| storeIdHeader | storeIdPathParameter |
|---|---|
| 00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-222222222222 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/settings/account-authentication/00000000-0000-1000-8000-222222222222
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:25 GMT
< content-length: 89
< connection: close
<
< {
"errors": [
{
"detail": "store id mismatch",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | title | detail |
|---|---|---|
| 422 | Unprocessable Entity | store id mismatch |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| storeIdHeader |
|---|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/settings/account-authentication/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store:
> User-Agent: axios/0.19.2
>
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:25 GMT
< content-length: 185
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| storeIdHeader |
|---|
| omit |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/settings/account-authentication/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> User-Agent: axios/0.19.2
>
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:25 GMT
< content-length: 185
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| status | title | detail |
|---|---|---|
| 500 | Server error | something went wrong |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":500,"body":"{\"errors\":{\"status\":\"500\",\"title\":\"Server error\",\"detail\":\"something went wrong\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/undefined\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| storeIdHeader |
|---|
| 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/settings/account-authentication/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 500 Internal Server Error
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:25 GMT
< content-length: 116
< connection: close
<
< {
"errors": [
{
"detail": "there was a problem processing your request",
"status": "500",
"title": "Internal Server Error"
}
]
}
| title | detail | status |
|---|---|---|
| Internal Server Error | there was a problem processing your request | 500 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-4000-8000-000000000001 | 20354d7a-e4fe-47af-8ff6-187bca92f3f9 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-4000-8000-000000000001/user-authentication-info/20354d7a-e4fe-47af-8ff6-187bca92f3f9","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"20354d7a-e4fe-47af-8ff6-187bca92f3f9\",\"name\":\"User with ID 20354d7a-e4fe-47af-8ff6-187bca92f3f9\",\"email\":\"20354d7a-e4fe-47af-8ff6-187bca92f3f9@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-4000-8000-000000000001/user-authentication-info/20354d7a-e4fe-47af-8ff6-187bca92f3f9\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| iss | aud | sub | exp | iat | name | |
|---|---|---|---|---|---|---|
| [EAS_ENDPOINT]/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001 | account-management | 20354d7a-e4fe-47af-8ff6-187bca92f3f9 | [IN_ONE_HOUR] | [NOW] | idpAccountTokenTestAccountName | idpaccounttokentest@test.com |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/oidc-idp/token/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001","method":"POST"},"response":{"status":201,"body":"{\"id_token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjFlOWdkazcifQ.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvb2lkYy1pZHAvc3RvcmVzLzAwMDAwMDAwLTAwMDAtNDAwMC04MDAwLTAwMDAwMDAwMDAwMC9hdXRoZW50aWNhdGlvbi1yZWFsbXMvMDAwMDAwMDAtMDAwMC00MDAwLTgwMDAtMDAwMDAwMDAwMDAxIiwic3ViIjoiMjAzNTRkN2EtZTRmZS00N2FmLThmZjYtMTg3YmNhOTJmM2Y5IiwiYXVkIjoiYWNjb3VudC1tYW5hZ2VtZW50IiwiaWF0IjoxNjE4NTEzNzY1Ljg0NCwiZXhwIjoxNjE4NTE3MzY1Ljg0NCwibmFtZSI6ImlkcEFjY291bnRUb2tlblRlc3RBY2NvdW50TmFtZSIsImVtYWlsIjoiaWRwYWNjb3VudHRva2VudGVzdEB0ZXN0LmNvbSJ9.eMKZQcL66lXRzXPy6ha4x_1ZpXnTiJM5eNBtMqpRKmcIwMIW9iiYmrk6ZPj2Rh75k6LRpY7EBm1AVxkcgjD6A8fl3_1SCIbMsddJds9SOKDxZMdd5yAYmpek9iwjnV3bE1OW6pZuzzUlBz7jdCqm-8gFhZI_K0IPoochhHf0X7MK2X218zWkSbb4ldhgNXdSJo6gbjWUY0lflIS-67CPipCyGKdXqFzBmBrhNfovlDKrXXP3cLli-xbV1Tnxm51tahdUU19oStYXdW1xXCJc0bx-HlrYbCgQkDFBcUkdopQRPv7qc5KP368CgKNCEUWK5j6I95XBvUAW1VfhYcb4LA\"}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| idpAccountTokenTestAccountName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222211 | account | 00000000-0000-4000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "idpAccountTokenTestAccountName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:25 GMT
< content-length: 405
< connection: close
<
< {
"data": {
"id": "c7e6c7a1-b6d7-4110-9c77-6792d03f4a3a",
"type": "account",
"name": "idpAccountTokenTestAccountName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:25.884Z",
"updated_at": "2021-04-15T19:09:25.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/c7e6c7a1-b6d7-4110-9c77-6792d03f4a3a"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-4000-8000-000000000000 | 20354d7a-e4fe-47af-8ff6-187bca92f3f9 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/c7e6c7a1-b6d7-4110-9c77-6792d03f4a3a/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "20354d7a-e4fe-47af-8ff6-187bca92f3f9"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:25 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "c3b3b057-5162-4921-9f08-5b5f8eb66c58",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:25.884Z",
"updated_at": "2021-04-15T19:09:25.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "20354d7a-e4fe-47af-8ff6-187bca92f3f9",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/c7e6c7a1-b6d7-4110-9c77-6792d03f4a3a/account-memberships/c3b3b057-5162-4921-9f08-5b5f8eb66c58"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| idpAccountTokenTestAccountName2 | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222213 | account | 00000000-0000-4000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "idpAccountTokenTestAccountName2",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222213"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:25 GMT
< content-length: 406
< connection: close
<
< {
"data": {
"id": "f0aab006-1425-4f38-b7c7-b979d73658e4",
"type": "account",
"name": "idpAccountTokenTestAccountName2",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222213",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:25.884Z",
"updated_at": "2021-04-15T19:09:25.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f0aab006-1425-4f38-b7c7-b979d73658e4"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-4000-8000-000000000000 | 20354d7a-e4fe-47af-8ff6-187bca92f3f9 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/f0aab006-1425-4f38-b7c7-b979d73658e4/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "20354d7a-e4fe-47af-8ff6-187bca92f3f9"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:25 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "45b27777-ef92-425d-813e-d8c48a00bad3",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:25.884Z",
"updated_at": "2021-04-15T19:09:25.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "20354d7a-e4fe-47af-8ff6-187bca92f3f9",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f0aab006-1425-4f38-b7c7-b979d73658e4/account-memberships/45b27777-ef92-425d-813e-d8c48a00bad3"
}
}
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:25 GMT
< content-length: 1445
< connection: close
<
< {
"meta": {
"page": {
"limit": 20,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 2
}
},
"data": [
{
"account_name": "idpAccountTokenTestAccountName",
"account_id": "c7e6c7a1-b6d7-4110-9c77-6792d03f4a3a",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MTg2MDAxNjUsImlhdCI6MTYxODUxMzc2NSwic2NvcGUiOiJjN2U2YzdhMS1iNmQ3LTQxMTAtOWM3Ny02NzkyZDAzZjRhM2EiLCJzdG9yZV9pZCI6IjAwMDAwMDAwLTAwMDAtNDAwMC04MDAwLTAwMDAwMDAwMDAwMCIsInN1YiI6IjIwMzU0ZDdhLWU0ZmUtNDdhZi04ZmY2LTE4N2JjYTkyZjNmOSJ9.lzuH2HPazkeDgXyXUEXMpVJWa7VEaJjh6Ei-JOw6xgM",
"type": "account_management_authentication_token",
"expires": "2021-04-16T19:09:25.070Z"
},
{
"account_name": "idpAccountTokenTestAccountName2",
"account_id": "f0aab006-1425-4f38-b7c7-b979d73658e4",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MTg2MDAxNjUsImlhdCI6MTYxODUxMzc2NSwic2NvcGUiOiJmMGFhYjAwNi0xNDI1LTRmMzgtYjdjNy1iOTc5ZDczNjU4ZTQiLCJzdG9yZV9pZCI6IjAwMDAwMDAwLTAwMDAtNDAwMC04MDAwLTAwMDAwMDAwMDAwMCIsInN1YiI6IjIwMzU0ZDdhLWU0ZmUtNDdhZi04ZmY2LTE4N2JjYTkyZjNmOSJ9.8pbkV9Zhxpxjpy_hQCR5zYE3mMybMXvs5omMLmgEIc8",
"type": "account_management_authentication_token",
"expires": "2021-04-16T19:09:25.070Z"
}
],
"links": {
"current": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=20",
"first": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=20",
"last": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=20",
"next": "null",
"prev": "null"
}
}
| accountName | accountId | type | storeId | sub | scopes |
|---|---|---|---|---|---|
| idpAccountTokenTestAccountName2 | last | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | 20354d7a-e4fe-47af-8ff6-187bca92f3f9 | last |
| accountName | accountId | type | storeId | sub | scopes |
|---|---|---|---|---|---|
| idpAccountTokenTestAccountName | previous | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | 20354d7a-e4fe-47af-8ff6-187bca92f3f9 | previous |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| iss | aud | sub | exp | iat | name | |
|---|---|---|---|---|---|---|
| [EAS_ENDPOINT]/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001 | account-management | 20354d7a-e4fe-47af-8ff6-187bca92f3f9 | [IN_ONE_HOUR] | [NOW] | idpAccountTokenTestAccountName | idpaccounttokentest@test.com |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/oidc-idp/token/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001","method":"POST"},"response":{"status":201,"body":"{\"id_token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjFlOWdkazcifQ.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvb2lkYy1pZHAvc3RvcmVzLzAwMDAwMDAwLTAwMDAtNDAwMC04MDAwLTAwMDAwMDAwMDAwMC9hdXRoZW50aWNhdGlvbi1yZWFsbXMvMDAwMDAwMDAtMDAwMC00MDAwLTgwMDAtMDAwMDAwMDAwMDAxIiwic3ViIjoiMjAzNTRkN2EtZTRmZS00N2FmLThmZjYtMTg3YmNhOTJmM2Y5IiwiYXVkIjoiYWNjb3VudC1tYW5hZ2VtZW50IiwiaWF0IjoxNjE4NTEzNzY2LjA1NSwiZXhwIjoxNjE4NTE3MzY2LjA1NSwibmFtZSI6ImlkcEFjY291bnRUb2tlblRlc3RBY2NvdW50TmFtZSIsImVtYWlsIjoiaWRwYWNjb3VudHRva2VudGVzdEB0ZXN0LmNvbSJ9.WgE3HoDuAXTOuCjJAu2K6lYEokruf3zAEEoAKEYqEP4XtwHriki1_1WGc7zOm6zLPuCiDZjuoeCsJSXrEyYnbpJq96BCFl_lbbpDa3zjlaLRnIJfqMwTw2BjJgI2dHSGrqE_F06JGYJxUKJxQLvpNHq40klJ6D-5v4x2lDGn9zsRWTj7U22UHvWqEeons7qJ96R1GckjfJMfzMV1a89VcD5IxVOPgQE9ndcCpEse_H-paaDU0UsvTVl1BgaL7PTjYpy9rUT7dwJN_zZi65hSlMIge5RYanAQrn6m8V-wLZFnog3rL73aN9wHKLS8zoI2KKvfVoFfifQcVyGxazXqGQ\"}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-4000-8000-000000000001 | 20354d7a-e4fe-47af-8ff6-187bca92f3f9 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-4000-8000-000000000001/user-authentication-info/20354d7a-e4fe-47af-8ff6-187bca92f3f9","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"20354d7a-e4fe-47af-8ff6-187bca92f3f9\",\"name\":\"User with ID 20354d7a-e4fe-47af-8ff6-187bca92f3f9\",\"email\":\"20354d7a-e4fe-47af-8ff6-187bca92f3f9@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-4000-8000-000000000001/user-authentication-info/20354d7a-e4fe-47af-8ff6-187bca92f3f9\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:26 GMT
< content-length: 413
< connection: close
<
< {
"meta": {
"page": {
"limit": 20,
"offset": 0,
"current": 1,
"total": 0
},
"results": {
"total": 0
}
},
"data": [],
"links": {
"current": "http://localhost:8087/v2/account-members/tokens?page[limit]=20&page[offset]=0",
"first": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=20",
"last": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=20",
"next": "null",
"prev": "null"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| iss | aud | sub | exp | iat | name | |
|---|---|---|---|---|---|---|
| [EAS_ENDPOINT]/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001 | account-management | 20354d7a-e4fe-47af-8ff6-187bca92f3f9 | [IN_ONE_HOUR] | [NOW] | idpAccountTokenTestAccountName | idpaccounttokentest@test.com |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/oidc-idp/token/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001","method":"POST"},"response":{"status":201,"body":"{\"id_token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjFlOWdkazcifQ.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvb2lkYy1pZHAvc3RvcmVzLzAwMDAwMDAwLTAwMDAtNDAwMC04MDAwLTAwMDAwMDAwMDAwMC9hdXRoZW50aWNhdGlvbi1yZWFsbXMvMDAwMDAwMDAtMDAwMC00MDAwLTgwMDAtMDAwMDAwMDAwMDAxIiwic3ViIjoiMjAzNTRkN2EtZTRmZS00N2FmLThmZjYtMTg3YmNhOTJmM2Y5IiwiYXVkIjoiYWNjb3VudC1tYW5hZ2VtZW50IiwiaWF0IjoxNjE4NTEzNzY2LjE2NywiZXhwIjoxNjE4NTE3MzY2LjE2NywibmFtZSI6ImlkcEFjY291bnRUb2tlblRlc3RBY2NvdW50TmFtZSIsImVtYWlsIjoiaWRwYWNjb3VudHRva2VudGVzdEB0ZXN0LmNvbSJ9.ND6J_O09gOoNfA5A70BYCDDLcr_cQYsP2O-aJeSQAkh8B27jM0_FPJn5mA1Dm-m4HGZCz5PxpswUXVt7Ou-26dHMSKpoEOyRc34tH_liNBoMUfa0PRyPyxvhCZLns2ZmW_6Hzkv4QH_1gBm9wcWrERqvHn4YMhALoWiCtLwBMXQoMfs03H2fxwXWOwPI0NO9dXhvX0c03j65Q7mlVOV5JwDckN1daZzf-lnsNilZ4FTifskMD8KNr87BvwsTLssuBl7skKsPdpPE--Tpsn5Rhexx95FxJ0gAlSfC3lnsqZFfCEparnT16bSREKNCQzCXAf_IV5WwQCGu9mjjupB_Ow\"}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId | name | |
|---|---|---|---|
| 00000000-0000-4000-8000-000000000001 | 20354d7a-e4fe-47af-8ff6-187bca92f3f9 | idpAccountTokenTestAccountName | idpaccounttokentest@test.com |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-4000-8000-000000000001/user-authentication-info/20354d7a-e4fe-47af-8ff6-187bca92f3f9","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"20354d7a-e4fe-47af-8ff6-187bca92f3f9\",\"name\":\"idpAccountTokenTestAccountName\",\"email\":\"idpaccounttokentest@test.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-4000-8000-000000000001/user-authentication-info/20354d7a-e4fe-47af-8ff6-187bca92f3f9\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:26 GMT
< content-length: 413
< connection: close
<
< {
"meta": {
"page": {
"limit": 20,
"offset": 0,
"current": 1,
"total": 0
},
"results": {
"total": 0
}
},
"data": [],
"links": {
"current": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=20",
"first": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=20",
"last": "http://localhost:8087/v2/account-members/tokens?page[limit]=20&page[offset]=0",
"next": "null",
"prev": "null"
}
}
| store_id | page-limit | page-offset |
|---|---|---|
| 00000000-0000-4000-8000-000000000000 | 3 | 0 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/?page[limit]=3&page[offset]=0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:26 GMT
< content-length: 633
< connection: close
<
< {
"meta": {
"page": {
"limit": 3,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 1
}
},
"data": [
{
"id": "20354d7a-e4fe-47af-8ff6-187bca92f3f9",
"type": "account_member",
"name": "idpAccountTokenTestAccountName",
"email": "idpaccounttokentest@test.com",
"links": {
"self": "http://localhost:8087/v2/account-members/20354d7a-e4fe-47af-8ff6-187bca92f3f9"
}
}
],
"links": {
"current": "http://localhost:8087/v2/account-members?page[offset]=0&page[limit]=3",
"first": "http://localhost:8087/v2/account-members?page[offset]=0&page[limit]=3",
"last": "http://localhost:8087/v2/account-members?page[limit]=3&page[offset]=0",
"next": "null",
"prev": "null"
}
}
| name | |
|---|---|
| idpAccountTokenTestAccountName | idpaccounttokentest@test.com |
| iss | aud | sub | exp | iat | name | |
|---|---|---|---|---|---|---|
| [EAS_ENDPOINT]/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001 | account-management | 20354d7a-e4fe-47af-8ff6-187bca92f3f9 | [IN_ONE_HOUR] | [NOW] | idpAccountTokenTestAccountUpdatedName | updatedidpaccounttokentest@test.com |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/oidc-idp/token/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001","method":"POST"},"response":{"status":201,"body":"{\"id_token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjFlOWdkazcifQ.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvb2lkYy1pZHAvc3RvcmVzLzAwMDAwMDAwLTAwMDAtNDAwMC04MDAwLTAwMDAwMDAwMDAwMC9hdXRoZW50aWNhdGlvbi1yZWFsbXMvMDAwMDAwMDAtMDAwMC00MDAwLTgwMDAtMDAwMDAwMDAwMDAxIiwic3ViIjoiMjAzNTRkN2EtZTRmZS00N2FmLThmZjYtMTg3YmNhOTJmM2Y5IiwiYXVkIjoiYWNjb3VudC1tYW5hZ2VtZW50IiwiaWF0IjoxNjE4NTEzNzY2LjIzOSwiZXhwIjoxNjE4NTE3MzY2LjIzOSwibmFtZSI6ImlkcEFjY291bnRUb2tlblRlc3RBY2NvdW50VXBkYXRlZE5hbWUiLCJlbWFpbCI6InVwZGF0ZWRpZHBhY2NvdW50dG9rZW50ZXN0QHRlc3QuY29tIn0.lF6poh5WOIwCX0VWsniW1aT_kIKIeTkWnIuifDStJC4g9QM_bG_sAydQsNJOXNjCB5iEi7qUIxKsaesGBJqMkanBR4j9-2Wr1TOb66TISmJPoG-8znNnxVD-xfomqlH-0mgtor0GvwISFKbIWF8eBN77Yya0aEtUfwKWIoWXCP1L3EwYG9HOkBxh8FAgGtK-3XGx_3riBYtylV1E0ERpL05l8Ro6JzYbU35UiREWv6iyD2cSE6AQuJU-QjS6V_4hCnoCVCTRMjv1IWXHwJlQhFVmIl7EaK1-HobjGA36N0NdCwQJPHAlBEfCj6W36Osvh-2boiL7q9IJlIGHMz75-w\"}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:26 GMT
< content-length: 413
< connection: close
<
< {
"meta": {
"page": {
"limit": 20,
"offset": 0,
"current": 1,
"total": 0
},
"results": {
"total": 0
}
},
"data": [],
"links": {
"current": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=20",
"first": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=20",
"last": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=20",
"next": "null",
"prev": "null"
}
}
| store_id | page-limit | page-offset |
|---|---|---|
| 00000000-0000-4000-8000-000000000000 | 3 | 0 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/?page[limit]=3&page[offset]=0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:26 GMT
< content-length: 647
< connection: close
<
< {
"meta": {
"page": {
"limit": 3,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 1
}
},
"data": [
{
"id": "20354d7a-e4fe-47af-8ff6-187bca92f3f9",
"type": "account_member",
"name": "idpAccountTokenTestAccountUpdatedName",
"email": "updatedidpaccounttokentest@test.com",
"links": {
"self": "http://localhost:8087/v2/account-members/20354d7a-e4fe-47af-8ff6-187bca92f3f9"
}
}
],
"links": {
"current": "http://localhost:8087/v2/account-members?page[offset]=0&page[limit]=3",
"first": "http://localhost:8087/v2/account-members?page[limit]=3&page[offset]=0",
"last": "http://localhost:8087/v2/account-members?page[offset]=0&page[limit]=3",
"next": "null",
"prev": "null"
}
}
| name | |
|---|---|
| idpAccountTokenTestAccountUpdatedName | updatedidpaccounttokentest@test.com |
| name | |
|---|---|
| idpAccountTokenTestAccountName | idpaccounttokentest@test.com |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/oidc-idp/token/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001","method":"POST"},"response":{"status":403}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 500 Internal Server Error
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:26 GMT
< content-length: 116
< connection: close
<
< {
"errors": [
{
"detail": "there was a problem processing your request",
"status": "500",
"title": "Internal Server Error"
}
]
}
| status | detail | title |
|---|---|---|
| 500 | there was a problem processing your request | Internal Server Error |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:26 GMT
< content-length: 189
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateToken.OAuthRedirectURI' Error:Field validation for 'OAuthRedirectURI' failed on the 'cannot_be_empty' tag",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | detail | title |
|---|---|---|
| 422 | Key: 'CreateToken.OAuthRedirectURI' Error:Field validation for 'OAuthRedirectURI' failed on the 'cannot_be_empty' tag | Unprocessable Entity |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:26 GMT
< content-length: 191
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateToken.OAuthCodeVerifier' Error:Field validation for 'OAuthCodeVerifier' failed on the 'cannot_be_empty' tag",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | detail | title |
|---|---|---|
| 422 | Key: 'CreateToken.OAuthCodeVerifier' Error:Field validation for 'OAuthCodeVerifier' failed on the 'cannot_be_empty' tag | Unprocessable Entity |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| (not set) | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": null,
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:26 GMT
< content-length: 201
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateToken.OAuthAuthorizationCode' Error:Field validation for 'OAuthAuthorizationCode' failed on the 'cannot_be_empty' tag",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | detail | title |
|---|---|---|
| 422 | Key: 'CreateToken.OAuthAuthorizationCode' Error:Field validation for 'OAuthAuthorizationCode' failed on the 'cannot_be_empty' tag | Unprocessable Entity |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | (not set) | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": null,
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:26 GMT
< content-length: 189
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateToken.OAuthRedirectURI' Error:Field validation for 'OAuthRedirectURI' failed on the 'cannot_be_empty' tag",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | detail | title |
|---|---|---|
| 422 | Key: 'CreateToken.OAuthRedirectURI' Error:Field validation for 'OAuthRedirectURI' failed on the 'cannot_be_empty' tag | Unprocessable Entity |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | (not set) |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": null,
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:26 GMT
< content-length: 191
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateToken.OAuthCodeVerifier' Error:Field validation for 'OAuthCodeVerifier' failed on the 'cannot_be_empty' tag",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | detail | title |
|---|---|---|
| 422 | Key: 'CreateToken.OAuthCodeVerifier' Error:Field validation for 'OAuthCodeVerifier' failed on the 'cannot_be_empty' tag | Unprocessable Entity |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store:
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:26 GMT
< content-length: 185
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | detail | title |
|---|---|---|
| 400 | Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag | Bad Request |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | (not set) | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:26 GMT
< content-length: 181
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'uuid' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | detail | title |
|---|---|---|
| 400 | Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'uuid' tag | Bad Request |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": ""
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:26 GMT
< content-length: 198
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateToken.AuthenticationMechanism' Error:Field validation for 'AuthenticationMechanism' failed on the 'is_invalid' tag",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | detail | title |
|---|---|---|
| 422 | Key: 'CreateToken.AuthenticationMechanism' Error:Field validation for 'AuthenticationMechanism' failed on the 'is_invalid' tag | Unprocessable Entity |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | (not set) | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": null
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:26 GMT
< content-length: 198
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateToken.AuthenticationMechanism' Error:Field validation for 'AuthenticationMechanism' failed on the 'is_invalid' tag",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | detail | title |
|---|---|---|
| 422 | Key: 'CreateToken.AuthenticationMechanism' Error:Field validation for 'AuthenticationMechanism' failed on the 'is_invalid' tag | Unprocessable Entity |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 168
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateToken.Type' Error:Field validation for 'Type' failed on the 'account_token_type' tag",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | detail | title |
|---|---|---|
| 422 | Key: 'CreateToken.Type' Error:Field validation for 'Type' failed on the 'account_token_type' tag | Unprocessable Entity |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | (not set) | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": null,
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 168
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateToken.Type' Error:Field validation for 'Type' failed on the 'account_token_type' tag",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | detail | title |
|---|---|---|
| 422 | Key: 'CreateToken.Type' Error:Field validation for 'Type' failed on the 'account_token_type' tag | Unprocessable Entity |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/oidc-idp/token/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001","method":"POST"},"response":{"status":400,"body":"{\"error\":\"invalid_grant\",\"errorDescription\":\"code not valid\"}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 110
< connection: close
<
< {
"errors": [
{
"detail": "EAS token endpoint returned invalid_grant error",
"status": "400",
"title": "Bad Request"
}
]
}
| status | detail | title |
|---|---|---|
| 400 | EAS token endpoint returned invalid_grant error | Bad Request |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/oidc-idp/token/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001","method":"POST"},"response":{"status":400,"body":"{\"error\":\"invalid_client\",\"errorDescription\":\"code not valid\"}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 500 Internal Server Error
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 116
< connection: close
<
< {
"errors": [
{
"detail": "there was a problem processing your request",
"status": "500",
"title": "Internal Server Error"
}
]
}
| status | detail | title |
|---|---|---|
| 500 | there was a problem processing your request | Internal Server Error |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-4000-8000-000000000001 | 20354d7a-e4fe-47af-8ff6-187bca92f3f9 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-4000-8000-000000000001/user-authentication-info/20354d7a-e4fe-47af-8ff6-187bca92f3f9","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"20354d7a-e4fe-47af-8ff6-187bca92f3f9\",\"name\":\"User with ID 20354d7a-e4fe-47af-8ff6-187bca92f3f9\",\"email\":\"20354d7a-e4fe-47af-8ff6-187bca92f3f9@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-4000-8000-000000000001/user-authentication-info/20354d7a-e4fe-47af-8ff6-187bca92f3f9\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| iss | aud | sub | exp | iat | name | |
|---|---|---|---|---|---|---|
| [EAS_ENDPOINT]/stores/00000000-0000-4000-8000-000000000000/authentication-realms/86e1be78-4f7e-4a72-af97-6b6196600dd5 | account-management | 5489d8d0-eea8-4a7a-b51e-5c28b263f0ab | [IN_ONE_HOUR] | [NOW] | idpAccountTokenTestAccountName | idpaccounttokentest@test.com |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/oidc-idp/token/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001","method":"POST"},"response":{"status":201,"body":"{\"id_token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjFlOWdkazcifQ.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvb2lkYy1pZHAvc3RvcmVzLzAwMDAwMDAwLTAwMDAtNDAwMC04MDAwLTAwMDAwMDAwMDAwMC9hdXRoZW50aWNhdGlvbi1yZWFsbXMvODZlMWJlNzgtNGY3ZS00YTcyLWFmOTctNmI2MTk2NjAwZGQ1Iiwic3ViIjoiNTQ4OWQ4ZDAtZWVhOC00YTdhLWI1MWUtNWMyOGIyNjNmMGFiIiwiYXVkIjoiYWNjb3VudC1tYW5hZ2VtZW50IiwiaWF0IjoxNjE4NTEzNzY3LjMwOSwiZXhwIjoxNjE4NTE3MzY3LjMwOSwibmFtZSI6ImlkcEFjY291bnRUb2tlblRlc3RBY2NvdW50TmFtZSIsImVtYWlsIjoiaWRwYWNjb3VudHRva2VudGVzdEB0ZXN0LmNvbSJ9.WO5yUyTBXqQ3JYUxgHTim6IWWSDjUXx4WUL2g4IS06kDa19D5eoz1yKMiCvpRF7w1Q9ohPSlrAbK9la0CINjnQi-NxgoqW3HdwAbb3vnXsCdUxXtUous3QRq-FkkrpxbpUaRUQtUnHCwSolaKLHuRIRpddUMB7EGJnBm1X4oMZn8LSl9dvokNoVKmTzc57TUTT1MjZucTeQbVgNnAkfbKnBg1_PEsw1xxckx7V6ea9CtF4S314PUFo9Vp7ObmjHeamL8-sMtNDrHlxCBg5Gdh7XoquW4WJbfF-GBGn7aknvU2ESZ_6V63GF-JNrP7Gv-6XLybdXVI1IweGzBqcKzKg\"}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| idpAccountTokenTestAccountName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222211 | account | 00000000-0000-4000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "idpAccountTokenTestAccountName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 405
< connection: close
<
< {
"data": {
"id": "672ef366-d19f-4ab1-8cfc-a2b3668a85a2",
"type": "account",
"name": "idpAccountTokenTestAccountName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:27.884Z",
"updated_at": "2021-04-15T19:09:27.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/672ef366-d19f-4ab1-8cfc-a2b3668a85a2"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-4000-8000-000000000000 | 20354d7a-e4fe-47af-8ff6-187bca92f3f9 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/672ef366-d19f-4ab1-8cfc-a2b3668a85a2/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "20354d7a-e4fe-47af-8ff6-187bca92f3f9"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "5c341c10-f4ad-4b71-b713-55ca62ca3763",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:27.884Z",
"updated_at": "2021-04-15T19:09:27.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "20354d7a-e4fe-47af-8ff6-187bca92f3f9",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/672ef366-d19f-4ab1-8cfc-a2b3668a85a2/account-memberships/5c341c10-f4ad-4b71-b713-55ca62ca3763"
}
}
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 403 Forbidden
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 70
< connection: close
<
< {
"errors": [
{
"detail": "forbidden",
"status": "403",
"title": "Forbidden"
}
]
}
| status | title | detail |
|---|---|---|
| 403 | Forbidden | forbidden |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| iss | aud | sub | exp | iat | name | |
|---|---|---|---|---|---|---|
| http://wrongissuer.com/86e1be78-4f7e-4a72-af97-6b6196600dd5 | account-management | 5489d8d0-eea8-4a7a-b51e-5c28b263f0ab | [IN_ONE_HOUR] | [NOW] | idpAccountTokenTestAccountName | idpaccounttokentest@test.com |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/oidc-idp/token/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001","method":"POST"},"response":{"status":201,"body":"{\"id_token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjFlOWdkazcifQ.eyJpc3MiOiJodHRwOi8vd3Jvbmdpc3N1ZXIuY29tLzg2ZTFiZTc4LTRmN2UtNGE3Mi1hZjk3LTZiNjE5NjYwMGRkNSIsInN1YiI6IjU0ODlkOGQwLWVlYTgtNGE3YS1iNTFlLTVjMjhiMjYzZjBhYiIsImF1ZCI6ImFjY291bnQtbWFuYWdlbWVudCIsImlhdCI6MTYxODUxMzc2Ny41MDMsImV4cCI6MTYxODUxNzM2Ny41MDMsIm5hbWUiOiJpZHBBY2NvdW50VG9rZW5UZXN0QWNjb3VudE5hbWUiLCJlbWFpbCI6ImlkcGFjY291bnR0b2tlbnRlc3RAdGVzdC5jb20ifQ.aJEl0sopGzKEMMcqk_lJIC2h3m9X3AyELb-1Qu87zpCQOIMM3NeBx_eWRj_uyYy9ppgY6O3OJkj604aA7VG-QoQLOE1NwI_ot6TJsvLYuzLl93mTbD-DmHVIKg6NQyuzXUXBgpmw2rEBpq8pwTPUXFRR0L2UCr2mn15Tf6dLFltUSmyUXL9fDYKYU3nmHhXZ94iehAAAqx0FEe-9ayi6y3oHujdMTUle0tKJQpWhHqgny3WDjjhxsP9o4PRjZ86rzZWmZMS4fhEVtMlMleOghPMe81ODU9IggLd6YdW3fROSDu6fG7vUtEbsjQA7EWd49tCMUIllyyH1oxD0NZpVCg\"}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 403 Forbidden
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 70
< connection: close
<
< {
"errors": [
{
"detail": "forbidden",
"status": "403",
"title": "Forbidden"
}
]
}
| status | title | detail |
|---|---|---|
| 403 | Forbidden | forbidden |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| iss | aud | sub | exp | iat | name | |
|---|---|---|---|---|---|---|
| [EAS_ENDPOINT]/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001 | wrong_audience | 5489d8d0-eea8-4a7a-b51e-5c28b263f0ab | [IN_ONE_HOUR] | [NOW] | idpAccountTokenTestAccountName | idpaccounttokentest@test.com |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/oidc-idp/token/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001","method":"POST"},"response":{"status":201,"body":"{\"id_token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjFlOWdkazcifQ.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvb2lkYy1pZHAvc3RvcmVzLzAwMDAwMDAwLTAwMDAtNDAwMC04MDAwLTAwMDAwMDAwMDAwMC9hdXRoZW50aWNhdGlvbi1yZWFsbXMvMDAwMDAwMDAtMDAwMC00MDAwLTgwMDAtMDAwMDAwMDAwMDAxIiwic3ViIjoiNTQ4OWQ4ZDAtZWVhOC00YTdhLWI1MWUtNWMyOGIyNjNmMGFiIiwiYXVkIjoid3JvbmdfYXVkaWVuY2UiLCJpYXQiOjE2MTg1MTM3NjcuNTk2LCJleHAiOjE2MTg1MTczNjcuNTk2LCJuYW1lIjoiaWRwQWNjb3VudFRva2VuVGVzdEFjY291bnROYW1lIiwiZW1haWwiOiJpZHBhY2NvdW50dG9rZW50ZXN0QHRlc3QuY29tIn0.GQJMkWGup_Amx5idnP4vVkJTsqJMQd3A63v2VflOVyIJCLGRwehi8aXfAAQRmPP02jt6zCzcaumleYaJ1hb4L8lmzlqsH9sLrVWfO39evJxW1OE4MlGWseytOK3KQ6RNqeUmkIlRHkkJlfZeOfpl1SC1kv437k5Gb1vB6N62bZ7iSbT7-QmekxnZ1HYoF5-2dn6tCSgu7-4uZcB79EdQB7U7ahpGTnBqNt4V2xh4ClUw8XLhgF2_3auwRi4tpEyaFMKL2lqKVEBTdKoe_sLyZm187Ncedl7cg0MxhEvWBZ4oaxkbzSISTNNpSDpNrBjZvyJXNRNzQFnlgDttSf1xyA\"}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 403 Forbidden
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 70
< connection: close
<
< {
"errors": [
{
"detail": "forbidden",
"status": "403",
"title": "Forbidden"
}
]
}
| status | title | detail |
|---|---|---|
| 403 | Forbidden | forbidden |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| iss | aud | sub | exp | iat | name | |
|---|---|---|---|---|---|---|
| [EAS_ENDPOINT]/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001 | account-management,audience_array_test | 5489d8d0-eea8-4a7a-b51e-5c28b263f0ab | [IN_ONE_HOUR] | [NOW] | idpAccountTokenTestAccountName | idpaccounttokentest@test.com |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/oidc-idp/token/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001","method":"POST"},"response":{"status":201,"body":"{\"id_token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjFlOWdkazcifQ.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvb2lkYy1pZHAvc3RvcmVzLzAwMDAwMDAwLTAwMDAtNDAwMC04MDAwLTAwMDAwMDAwMDAwMC9hdXRoZW50aWNhdGlvbi1yZWFsbXMvMDAwMDAwMDAtMDAwMC00MDAwLTgwMDAtMDAwMDAwMDAwMDAxIiwic3ViIjoiNTQ4OWQ4ZDAtZWVhOC00YTdhLWI1MWUtNWMyOGIyNjNmMGFiIiwiYXVkIjpbImFjY291bnQtbWFuYWdlbWVudCIsImF1ZGllbmNlX2FycmF5X3Rlc3QiXSwiaWF0IjoxNjE4NTEzNzY3LjY3OCwiZXhwIjoxNjE4NTE3MzY3LjY3OCwibmFtZSI6ImlkcEFjY291bnRUb2tlblRlc3RBY2NvdW50TmFtZSIsImVtYWlsIjoiaWRwYWNjb3VudHRva2VudGVzdEB0ZXN0LmNvbSJ9.kaZWvH5nS8xSElj7n6r3bJ1rkEoMq9-WdrogZahbMmYDE5TFKLrPJ3NFknJv82C93uu1Gy5ROy93jEEWdQF1bklklleWrdj6zfvY17fkX_mh8QU6MbqWXJ9yKq5eP5UrN5bbEcKgYkuy1_5YKpJ6AAcymXLFj_plkTqDd9wthy3Zb2pM8LdJD4YYolsy3QwqhIw_2I7HueIDrgorLGRKhE29_P_mPB343N0tiBR-yamnem5jtxxjv3alKQH306O3YsZ8yGrxNWZB-noVWp7GBsAeJhfthNpM704362Chh_sR8DNKeC9IbdOBC0VewKNrJ_zguL1fHvDePxGdvbItmA\"}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 403 Forbidden
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 70
< connection: close
<
< {
"errors": [
{
"detail": "forbidden",
"status": "403",
"title": "Forbidden"
}
]
}
| status | title | detail |
|---|---|---|
| 403 | Forbidden | forbidden |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| iss | aud | sub | exp | iat | name | |
|---|---|---|---|---|---|---|
| [EAS_ENDPOINT]/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001 | account-management | 5489d8d0-eea8-4a7a-b51e-5c28b263f0ab | [ONE_SECOND_AGO] | [NOW] | exptokentest | exptoken@test.com |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/oidc-idp/token/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001","method":"POST"},"response":{"status":201,"body":"{\"id_token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjFlOWdkazcifQ.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvb2lkYy1pZHAvc3RvcmVzLzAwMDAwMDAwLTAwMDAtNDAwMC04MDAwLTAwMDAwMDAwMDAwMC9hdXRoZW50aWNhdGlvbi1yZWFsbXMvMDAwMDAwMDAtMDAwMC00MDAwLTgwMDAtMDAwMDAwMDAwMDAxIiwic3ViIjoiNTQ4OWQ4ZDAtZWVhOC00YTdhLWI1MWUtNWMyOGIyNjNmMGFiIiwiYXVkIjoiYWNjb3VudC1tYW5hZ2VtZW50IiwiaWF0IjoxNjE4NTEzNzY3Ljc2MywiZXhwIjoxNjE4NTEzNzY2Ljc2MywibmFtZSI6ImV4cHRva2VudGVzdCIsImVtYWlsIjoiZXhwdG9rZW5AdGVzdC5jb20ifQ.rU17Lldgt8sGP4eqfk5UD04KvtyJ954El2ODk37VsQWdIIa8hTeQed4pSOgB6nGaBBHDydXcTrycwxCUL60eGh96POcYpcMzDL5Z3QleKzbZhPiMqGNXhIJqEMcUD60Ra8QR1XKN5IBm5frZJKD0FRcJUolAdYTKw5PGzBdg3S91zqVaBkZ9NsZBQkNDR3DSk6R-xgJX6MfTRGMFhkuBcdPvQ6Gao1Vc4xUMvlnv8DXIPigLzN2MMwgUrYoV8rAuQ07ReZJ4S6BvRvumC6OduC33yc7-6s0hsVWARYuT28RHAyIqnNA447GxvoYij1QRJ0teTGScu80SwOU9GfyOJg\"}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 403 Forbidden
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 70
< connection: close
<
< {
"errors": [
{
"detail": "forbidden",
"status": "403",
"title": "Forbidden"
}
]
}
| status | title | detail |
|---|---|---|
| 403 | Forbidden | forbidden |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accMemberAuthTestName_4 | accMemberAuthLegalName | 00000000-0000-1000-8000-222222222221_4 | account | 00000000-0000-1000-8000-000000000002 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000002
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accMemberAuthTestName_4",
"legal_name": "accMemberAuthLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221_4"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "8af87746-7170-42ce-8450-1955064e6be1",
"type": "account",
"name": "accMemberAuthTestName_4",
"legal_name": "accMemberAuthLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221_4",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:27.884Z",
"updated_at": "2021-04-15T19:09:27.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/8af87746-7170-42ce-8450-1955064e6be1"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accMemberAuthTestName_1 | accMemberAuthLegalName | 00000000-0000-1000-8000-222222222221_1 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accMemberAuthTestName_1",
"legal_name": "accMemberAuthLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221_1"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "4bbfe788-970f-4338-80a9-759e717a2bd2",
"type": "account",
"name": "accMemberAuthTestName_1",
"legal_name": "accMemberAuthLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221_1",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:27.884Z",
"updated_at": "2021-04-15T19:09:27.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/4bbfe788-970f-4338-80a9-759e717a2bd2"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accMemberAuthTestName_2 | accMemberAuthLegalName | 00000000-0000-1000-8000-222222222221_2 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accMemberAuthTestName_2",
"legal_name": "accMemberAuthLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221_2"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "ddc7d079-59c9-40c9-ade4-2b23285146b7",
"type": "account",
"name": "accMemberAuthTestName_2",
"legal_name": "accMemberAuthLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221_2",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:27.884Z",
"updated_at": "2021-04-15T19:09:27.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/ddc7d079-59c9-40c9-ade4-2b23285146b7"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accMemberAuthTestName_3 | accMemberAuthLegalName | 00000000-0000-1000-8000-222222222221_3 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accMemberAuthTestName_3",
"legal_name": "accMemberAuthLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221_3"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "78ef86fa-a52c-4019-9cc1-dfc6a2793e41",
"type": "account",
"name": "accMemberAuthTestName_3",
"legal_name": "accMemberAuthLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221_3",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:27.884Z",
"updated_at": "2021-04-15T19:09:27.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/78ef86fa-a52c-4019-9cc1-dfc6a2793e41"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111112
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 297
< connection: close
<
< {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member",
"name": "User with ID 00000000-0000-1000-8000-111111111112",
"email": "00000000-0000-1000-8000-111111111112@elasticpath.com"
},
"links": {
"self": "http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111112"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/78ef86fa-a52c-4019-9cc1-dfc6a2793e41/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "93eeaf0b-a09d-4392-9c77-1484071ea518",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:27.884Z",
"updated_at": "2021-04-15T19:09:27.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/78ef86fa-a52c-4019-9cc1-dfc6a2793e41/account-memberships/93eeaf0b-a09d-4392-9c77-1484071ea518"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/ddc7d079-59c9-40c9-ade4-2b23285146b7/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "0946bcd3-2702-4010-9dac-70a709c09679",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:27.884Z",
"updated_at": "2021-04-15T19:09:27.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/ddc7d079-59c9-40c9-ade4-2b23285146b7/account-memberships/0946bcd3-2702-4010-9dac-70a709c09679"
}
}
| storeId | authenticationMechanism | accountMemberId | type | accountId | pageListLimitSettings |
|---|---|---|---|---|---|
| 00000000-0000-1000-8000-000000000000 | account_management_authentication_token | 00000000-0000-1000-8000-111111111112 | account_management_authentication_token | last | 19 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> EP-Internal-Account-Id: 78ef86fa-a52c-4019-9cc1-dfc6a2793e41
> X-Moltin-Settings-page_length: 19
> EP-Internal-Account-Member-Id: 00000000-0000-1000-8000-111111111112
> User-Agent: axios/0.19.2
>
> {
"data": {
"authentication_mechanism": "account_management_authentication_token",
"type": "account_management_authentication_token"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:27 GMT
< content-length: 1430
< connection: close
<
< {
"meta": {
"page": {
"limit": 19,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 2
}
},
"data": [
{
"account_name": "accMemberAuthTestName_2",
"account_id": "ddc7d079-59c9-40c9-ade4-2b23285146b7",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MTg2MDAxNjcsImlhdCI6MTYxODUxMzc2Nywic2NvcGUiOiJkZGM3ZDA3OS01OWM5LTQwYzktYWRlNC0yYjIzMjg1MTQ2YjciLCJzdG9yZV9pZCI6IjAwMDAwMDAwLTAwMDAtMTAwMC04MDAwLTAwMDAwMDAwMDAwMCIsInN1YiI6IjAwMDAwMDAwLTAwMDAtMTAwMC04MDAwLTExMTExMTExMTExMiJ9.pC0CucYY-effRGe57QOfh2Ktaa2VkOGlJ0vKVM40DOQ",
"type": "account_management_authentication_token",
"expires": "2021-04-16T19:09:27.070Z"
},
{
"account_name": "accMemberAuthTestName_3",
"account_id": "78ef86fa-a52c-4019-9cc1-dfc6a2793e41",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MTg2MDAxNjcsImlhdCI6MTYxODUxMzc2Nywic2NvcGUiOiI3OGVmODZmYS1hNTJjLTQwMTktOWNjMS1kZmM2YTI3OTNlNDEiLCJzdG9yZV9pZCI6IjAwMDAwMDAwLTAwMDAtMTAwMC04MDAwLTAwMDAwMDAwMDAwMCIsInN1YiI6IjAwMDAwMDAwLTAwMDAtMTAwMC04MDAwLTExMTExMTExMTExMiJ9.F-t88QCJIyke6juJiGuG-_XFzfMSTPVJhT4A0tSoQcg",
"type": "account_management_authentication_token",
"expires": "2021-04-16T19:09:27.070Z"
}
],
"links": {
"current": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=19",
"first": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=19",
"last": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=19",
"next": "null",
"prev": "null"
}
}
| accountName | accountId | type | storeId | sub | scopes |
|---|---|---|---|---|---|
| accMemberAuthTestName_3 | last | account_management_authentication_token | 00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 | last |
| accountName | accountId | type | storeId | sub | scopes |
|---|---|---|---|---|---|
| accMemberAuthTestName_2 | previous | account_management_authentication_token | 00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 | previous |
| self | first | last | next | prev |
|---|---|---|---|---|
| X | X | X |
| limit | 19 |
|---|---|
| offset | 0 |
| current | 1 |
| total | 1 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/requests/count
> Accept: application/json, text/plain, */*
> Content-Type: application/x-www-form-urlencoded
> User-Agent: axios/0.19.2
>
> {"method":"GET","url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112"}
< HTTP ?.? 200 OK
< connection: close
< content-type: application/json
< server: Jetty(9.4.20.v20190813)
<
< {
"count": 1,
"requestJournalDisabled": false
}
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accMemberAuthNoAmTestName | accMemberAuthNoAmTestLegalName | 00000000-0000-1000-8000-222222222221 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accMemberAuthNoAmTestName",
"legal_name": "accMemberAuthNoAmTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 403
< connection: close
<
< {
"data": {
"id": "52070d65-fbe0-4d0a-822a-dbf94a7fb674",
"type": "account",
"name": "accMemberAuthNoAmTestName",
"legal_name": "accMemberAuthNoAmTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:28.884Z",
"updated_at": "2021-04-15T19:09:28.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/52070d65-fbe0-4d0a-822a-dbf94a7fb674"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111112
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 297
< connection: close
<
< {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member",
"name": "User with ID 00000000-0000-1000-8000-111111111112",
"email": "00000000-0000-1000-8000-111111111112@elasticpath.com"
},
"links": {
"self": "http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111112"
}
}
| storeId | authenticationMechanism | accountMemberId | type | accountId |
|---|---|---|---|---|
| 00000000-0000-1000-8000-000000000000 | account_management_authentication_token | 00000000-0000-1000-8000-111111111112 | account_management_authentication_token | last |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> EP-Internal-Account-Id: 52070d65-fbe0-4d0a-822a-dbf94a7fb674
> X-Moltin-Settings-page_length: 19
> EP-Internal-Account-Member-Id: 00000000-0000-1000-8000-111111111112
> User-Agent: axios/0.19.2
>
> {
"data": {
"authentication_mechanism": "account_management_authentication_token",
"type": "account_management_authentication_token"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 413
< connection: close
<
< {
"meta": {
"page": {
"limit": 19,
"offset": 0,
"current": 1,
"total": 0
},
"results": {
"total": 0
}
},
"data": [],
"links": {
"current": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=19",
"first": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=19",
"last": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=19",
"next": "null",
"prev": "null"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"errors\":[{\"detail\":\"The user authentication info id was not found: 00000000-0000-1000-8000-111111111112\",\"status\":\"404\",\"title\":\"User authentication info not found\"}],\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accMemberAuthNoAmTestName | accMemberAuthNoAmTestLegalName | 00000000-0000-1000-8000-222222222221 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accMemberAuthNoAmTestName",
"legal_name": "accMemberAuthNoAmTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 403
< connection: close
<
< {
"data": {
"id": "45350546-f0e7-4c03-a2b7-4c1ff779874f",
"type": "account",
"name": "accMemberAuthNoAmTestName",
"legal_name": "accMemberAuthNoAmTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:28.884Z",
"updated_at": "2021-04-15T19:09:28.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/45350546-f0e7-4c03-a2b7-4c1ff779874f"
}
}
| storeId | authenticationMechanism | accountMemberId | type | accountId |
|---|---|---|---|---|
| 00000000-0000-1000-8000-000000000000 | account_management_authentication_token | 00000000-0000-1000-8000-111111111112 | account_management_authentication_token | last |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> EP-Internal-Account-Id: 45350546-f0e7-4c03-a2b7-4c1ff779874f
> X-Moltin-Settings-page_length: 19
> EP-Internal-Account-Member-Id: 00000000-0000-1000-8000-111111111112
> User-Agent: axios/0.19.2
>
> {
"data": {
"authentication_mechanism": "account_management_authentication_token",
"type": "account_management_authentication_token"
}
}
< HTTP ?.? 403 Forbidden
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 70
< connection: close
<
< {
"errors": [
{
"detail": "forbidden",
"status": "403",
"title": "Forbidden"
}
]
}
| status | title | detail |
|---|---|---|
| 403 | Forbidden | forbidden |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accMemberAuthTestName_1 | accMemberAuthLegalName | 00000000-0000-1000-8000-222222222221_1 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accMemberAuthTestName_1",
"legal_name": "accMemberAuthLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221_1"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "ffb5fdbf-2a06-40df-ab1f-2c79b1f15092",
"type": "account",
"name": "accMemberAuthTestName_1",
"legal_name": "accMemberAuthLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221_1",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:28.884Z",
"updated_at": "2021-04-15T19:09:28.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/ffb5fdbf-2a06-40df-ab1f-2c79b1f15092"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accMemberAuthTestName_2 | accMemberAuthLegalName | 00000000-0000-1000-8000-222222222221_2 | account | 00000000-0000-1000-8000-000000000002 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000002
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accMemberAuthTestName_2",
"legal_name": "accMemberAuthLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221_2"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "687834a5-bf56-4f1c-b412-a3a58155642b",
"type": "account",
"name": "accMemberAuthTestName_2",
"legal_name": "accMemberAuthLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221_2",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:28.884Z",
"updated_at": "2021-04-15T19:09:28.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/687834a5-bf56-4f1c-b412-a3a58155642b"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/ffb5fdbf-2a06-40df-ab1f-2c79b1f15092/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "c79c71e8-ad1d-40bc-ad8c-f1e8162ef052",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:28.884Z",
"updated_at": "2021-04-15T19:09:28.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/ffb5fdbf-2a06-40df-ab1f-2c79b1f15092/account-memberships/c79c71e8-ad1d-40bc-ad8c-f1e8162ef052"
}
}
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-000000000333 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-000000000333","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-000000000333\",\"name\":\"User with ID 00000000-0000-1000-8000-000000000333\",\"email\":\"00000000-0000-1000-8000-000000000333@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-000000000333\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"errors\":[{\"detail\":\"The user authentication info id was not found: 00000000-0000-1000-8000-111111111112\",\"status\":\"404\",\"title\":\"User authentication info not found\"}],\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000002 | 00000000-0000-1000-8000-000000000333 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/687834a5-bf56-4f1c-b412-a3a58155642b/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000002
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-000000000333"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "7509f7d5-df97-4665-bd47-bf355f831526",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:28.884Z",
"updated_at": "2021-04-15T19:09:28.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-000000000333",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/687834a5-bf56-4f1c-b412-a3a58155642b/account-memberships/7509f7d5-df97-4665-bd47-bf355f831526"
}
}
| storeId | authenticationMechanism | accountMemberId | type | accountId | pageListLimitSettings |
|---|---|---|---|---|---|
| 00000000-0000-1000-8000-000000000002 | account_management_authentication_token | 00000000-0000-1000-8000-111111111112 | account_management_authentication_token | last | 19 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000002
> EP-Internal-Account-Id: 687834a5-bf56-4f1c-b412-a3a58155642b
> X-Moltin-Settings-page_length: 19
> EP-Internal-Account-Member-Id: 00000000-0000-1000-8000-111111111112
> User-Agent: axios/0.19.2
>
> {
"data": {
"authentication_mechanism": "account_management_authentication_token",
"type": "account_management_authentication_token"
}
}
< HTTP ?.? 403 Forbidden
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 70
< connection: close
<
< {
"errors": [
{
"detail": "forbidden",
"status": "403",
"title": "Forbidden"
}
]
}
| status | title | detail |
|---|---|---|
| 403 | Forbidden | forbidden |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accMemberAuthNoHeaderTestName_1 | accMemberAuthNoHeaderLegalName | 00000000-0000-1000-8000-222222222221_1 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accMemberAuthNoHeaderTestName_1",
"legal_name": "accMemberAuthNoHeaderLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221_1"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 411
< connection: close
<
< {
"data": {
"id": "f6a8e628-908f-4adb-88f2-c5ce876a44ae",
"type": "account",
"name": "accMemberAuthNoHeaderTestName_1",
"legal_name": "accMemberAuthNoHeaderLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221_1",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:28.884Z",
"updated_at": "2021-04-15T19:09:28.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f6a8e628-908f-4adb-88f2-c5ce876a44ae"
}
}
| storeId | authenticationMechanism | type | accountId | pageListLimitSettings |
|---|---|---|---|---|
| 00000000-0000-1000-8000-000000000000 | account_management_authentication_token | account_management_authentication_token | last | 19 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> EP-Internal-Account-Id: f6a8e628-908f-4adb-88f2-c5ce876a44ae
> X-Moltin-Settings-page_length: 19
> User-Agent: axios/0.19.2
>
> {
"data": {
"authentication_mechanism": "account_management_authentication_token",
"type": "account_management_authentication_token"
}
}
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 201
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'ValidateAccountHeader.EPInternalAccountMemberID' Error:Field validation for 'EPInternalAccountMemberID' failed on the 'required' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'ValidateAccountHeader.EPInternalAccountMemberID' Error:Field validation for 'EPInternalAccountMemberID' failed on the 'required' tag |
| storeId | authenticationMechanism | accountMemberId | type | accountId | pageListLimitSettings |
|---|---|---|---|---|---|
| 00000000-0000-1000-8000-000000000000 | account_management_authentication_token | account_management_authentication_token | last | 19 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> EP-Internal-Account-Id: f6a8e628-908f-4adb-88f2-c5ce876a44ae
> X-Moltin-Settings-page_length: 19
> EP-Internal-Account-Member-Id:
> User-Agent: axios/0.19.2
>
> {
"data": {
"authentication_mechanism": "account_management_authentication_token",
"type": "account_management_authentication_token"
}
}
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 201
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'ValidateAccountHeader.EPInternalAccountMemberID' Error:Field validation for 'EPInternalAccountMemberID' failed on the 'required' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'ValidateAccountHeader.EPInternalAccountMemberID' Error:Field validation for 'EPInternalAccountMemberID' failed on the 'required' tag |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accMemberAuthReqFieldsTestName | accMemberAuthReqFieldsLegalName | 00000000-0000-1000-8000-222222222221 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accMemberAuthReqFieldsTestName",
"legal_name": "accMemberAuthReqFieldsLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 409
< connection: close
<
< {
"data": {
"id": "699ee3e0-5f2f-49ae-afc6-faa5b50a55eb",
"type": "account",
"name": "accMemberAuthReqFieldsTestName",
"legal_name": "accMemberAuthReqFieldsLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:28.884Z",
"updated_at": "2021-04-15T19:09:28.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/699ee3e0-5f2f-49ae-afc6-faa5b50a55eb"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/699ee3e0-5f2f-49ae-afc6-faa5b50a55eb/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "a8f9807e-1da0-4d43-9643-ee25676cd124",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:28.884Z",
"updated_at": "2021-04-15T19:09:28.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/699ee3e0-5f2f-49ae-afc6-faa5b50a55eb/account-memberships/a8f9807e-1da0-4d43-9643-ee25676cd124"
}
}
| storeId | authenticationMechanism | accountMemberId | type | accountId | pageListLimitSettings |
|---|---|---|---|---|---|
| 00000000-0000-1000-8000-000000000000 | account_management_authentication_token | 00000000-0000-1000-8000-111111111112 | account_management_authentication_token | last | 19 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> EP-Internal-Account-Member-Id: 00000000-0000-1000-8000-111111111112
> EP-Internal-Account-Id: 699ee3e0-5f2f-49ae-afc6-faa5b50a55eb
> X-Moltin-Settings-page_length: 19
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_management_authentication_token"
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 198
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateToken.AuthenticationMechanism' Error:Field validation for 'AuthenticationMechanism' failed on the 'is_invalid' tag",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | title | detail |
|---|---|---|
| 422 | Unprocessable Entity | Key: 'CreateToken.AuthenticationMechanism' Error:Field validation for 'AuthenticationMechanism' failed on the 'is_invalid' tag |
| storeId | authenticationMechanism | accountMemberId | type | accountId |
|---|---|---|---|---|
| 00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 | last |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> EP-Internal-Account-Id: 699ee3e0-5f2f-49ae-afc6-faa5b50a55eb
> X-Moltin-Settings-page_length: 19
> EP-Internal-Account-Member-Id: 00000000-0000-1000-8000-111111111112
> User-Agent: axios/0.19.2
>
> {
"data": {
"authentication_mechanism": "",
"type": ""
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 296
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateToken.Type' Error:Field validation for 'Type' failed on the 'account_token_type' tag\nKey: 'CreateToken.AuthenticationMechanism' Error:Field validation for 'AuthenticationMechanism' failed on the 'is_invalid' tag",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | title | detail |
|---|---|---|
| 422 | Unprocessable Entity | Key: 'CreateToken.Type' Error:Field validation for 'Type' failed on the 'account_token_type' tag Key: 'CreateToken.AuthenticationMechanism' Error:Field validation for 'AuthenticationMechanism' failed on the 'is_invalid' tag |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accMemberAuthReqFieldsTestName | accMemberAuthReqFieldsLegalName | 00000000-0000-1000-8000-222222222221 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accMemberAuthReqFieldsTestName",
"legal_name": "accMemberAuthReqFieldsLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 409
< connection: close
<
< {
"data": {
"id": "d247444d-feef-4c0f-988d-1c8894275ebd",
"type": "account",
"name": "accMemberAuthReqFieldsTestName",
"legal_name": "accMemberAuthReqFieldsLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:28.884Z",
"updated_at": "2021-04-15T19:09:28.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/d247444d-feef-4c0f-988d-1c8894275ebd"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/d247444d-feef-4c0f-988d-1c8894275ebd/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "84c6652f-ff04-4d9b-bda9-b68311924bf2",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:28.884Z",
"updated_at": "2021-04-15T19:09:28.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/d247444d-feef-4c0f-988d-1c8894275ebd/account-memberships/84c6652f-ff04-4d9b-bda9-b68311924bf2"
}
}
| storeId | authenticationMechanism | accountMemberId | type | accountId | pageListLimitSettings |
|---|---|---|---|---|---|
| 00000000-0000-1000-8000-000000000000 | account_management_authentication_token | 00000000-0000-1000-8000-111111111112 | account_management_authentication_token | last | 19 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> EP-Internal-Account-Member-Id: 00000000-0000-1000-8000-111111111112
> EP-Internal-Account-Id: d247444d-feef-4c0f-988d-1c8894275ebd
> X-Moltin-Settings-page_length: 19
> User-Agent: axios/0.19.2
>
> {
"data": {
"authentication_mechanism": "account_management_authentication_token"
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 168
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateToken.Type' Error:Field validation for 'Type' failed on the 'account_token_type' tag",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | title | detail |
|---|---|---|
| 422 | Unprocessable Entity | Key: 'CreateToken.Type' Error:Field validation for 'Type' failed on the 'account_token_type' tag |
| storeId | authenticationMechanism | accountMemberId | type | accountId |
|---|---|---|---|---|
| 00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 | last |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> EP-Internal-Account-Id: d247444d-feef-4c0f-988d-1c8894275ebd
> X-Moltin-Settings-page_length: 19
> EP-Internal-Account-Member-Id: 00000000-0000-1000-8000-111111111112
> User-Agent: axios/0.19.2
>
> {
"data": {
"authentication_mechanism": "",
"type": ""
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 296
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateToken.Type' Error:Field validation for 'Type' failed on the 'account_token_type' tag\nKey: 'CreateToken.AuthenticationMechanism' Error:Field validation for 'AuthenticationMechanism' failed on the 'is_invalid' tag",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | title | detail |
|---|---|---|
| 422 | Unprocessable Entity | Key: 'CreateToken.Type' Error:Field validation for 'Type' failed on the 'account_token_type' tag Key: 'CreateToken.AuthenticationMechanism' Error:Field validation for 'AuthenticationMechanism' failed on the 'is_invalid' tag |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accMemberAuthWrongTypeTestName | accMemberAuthWrongTypeLegalName | 00000000-0000-1000-8000-222222222221 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accMemberAuthWrongTypeTestName",
"legal_name": "accMemberAuthWrongTypeLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 409
< connection: close
<
< {
"data": {
"id": "e4906857-e6e4-40c1-ac8f-e0f3b2f540e7",
"type": "account",
"name": "accMemberAuthWrongTypeTestName",
"legal_name": "accMemberAuthWrongTypeLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:28.884Z",
"updated_at": "2021-04-15T19:09:28.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/e4906857-e6e4-40c1-ac8f-e0f3b2f540e7"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/e4906857-e6e4-40c1-ac8f-e0f3b2f540e7/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "1b936de8-d290-4968-acf7-5fe556dfa008",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:28.884Z",
"updated_at": "2021-04-15T19:09:28.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/e4906857-e6e4-40c1-ac8f-e0f3b2f540e7/account-memberships/1b936de8-d290-4968-acf7-5fe556dfa008"
}
}
| storeId | authenticationMechanism | accountMemberId | type | accountId |
|---|---|---|---|---|
| 00000000-0000-1000-8000-000000000000 | account_management_authentication_token | 00000000-0000-1000-8000-111111111112 | wrong_type | last |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> EP-Internal-Account-Id: e4906857-e6e4-40c1-ac8f-e0f3b2f540e7
> X-Moltin-Settings-page_length: 19
> EP-Internal-Account-Member-Id: 00000000-0000-1000-8000-111111111112
> User-Agent: axios/0.19.2
>
> {
"data": {
"authentication_mechanism": "account_management_authentication_token",
"type": "wrong_type"
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 168
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateToken.Type' Error:Field validation for 'Type' failed on the 'account_token_type' tag",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | title | detail |
|---|---|---|
| 422 | Unprocessable Entity | Key: 'CreateToken.Type' Error:Field validation for 'Type' failed on the 'account_token_type' tag |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accMemberAuthStoreIdTestName | accMemberAuthStoreIdLegalName | 00000000-0000-1000-8000-222222222221 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accMemberAuthStoreIdTestName",
"legal_name": "accMemberAuthStoreIdLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 405
< connection: close
<
< {
"data": {
"id": "01414948-5ffb-4c37-b38e-ccff144dafeb",
"type": "account",
"name": "accMemberAuthStoreIdTestName",
"legal_name": "accMemberAuthStoreIdLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:28.884Z",
"updated_at": "2021-04-15T19:09:28.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/01414948-5ffb-4c37-b38e-ccff144dafeb"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/01414948-5ffb-4c37-b38e-ccff144dafeb/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "361ae2ff-4774-4be9-95f8-bc09eaea40f3",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:28.884Z",
"updated_at": "2021-04-15T19:09:28.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/01414948-5ffb-4c37-b38e-ccff144dafeb/account-memberships/361ae2ff-4774-4be9-95f8-bc09eaea40f3"
}
}
| authenticationMechanism | accountMemberId | type | accountId |
|---|---|---|---|
| account_management_authentication_token | 00000000-0000-1000-8000-111111111112 | wrong_type | last |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> EP-Internal-Account-Id: 01414948-5ffb-4c37-b38e-ccff144dafeb
> X-Moltin-Settings-page_length: 19
> EP-Internal-Account-Member-Id: 00000000-0000-1000-8000-111111111112
> User-Agent: axios/0.19.2
>
> {
"data": {
"authentication_mechanism": "account_management_authentication_token",
"type": "wrong_type"
}
}
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 185
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag |
| storeId | authenticationMechanism | accountMemberId | type | accountId |
|---|---|---|---|---|
| account_management_authentication_token | 00000000-0000-1000-8000-111111111112 | wrong_type | last |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store:
> EP-Internal-Account-Id: 01414948-5ffb-4c37-b38e-ccff144dafeb
> X-Moltin-Settings-page_length: 19
> EP-Internal-Account-Member-Id: 00000000-0000-1000-8000-111111111112
> User-Agent: axios/0.19.2
>
> {
"data": {
"authentication_mechanism": "account_management_authentication_token",
"type": "wrong_type"
}
}
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:28 GMT
< content-length: 185
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111112
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 297
< connection: close
<
< {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member",
"name": "User with ID 00000000-0000-1000-8000-111111111112",
"email": "00000000-0000-1000-8000-111111111112@elasticpath.com"
},
"links": {
"self": "http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111112"
}
}
| id | name | |
|---|---|---|
| 00000000-0000-1000-8000-111111111112 | User with ID 00000000-0000-1000-8000-111111111112 | 00000000-0000-1000-8000-111111111112@elasticpath.com |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111112
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 297
< connection: close
<
< {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member",
"name": "User with ID 00000000-0000-1000-8000-111111111112",
"email": "00000000-0000-1000-8000-111111111112@elasticpath.com"
},
"links": {
"self": "http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111112"
}
}
| id | name | |
|---|---|---|
| 00000000-0000-1000-8000-111111111112 | User with ID 00000000-0000-1000-8000-111111111112 | 00000000-0000-1000-8000-111111111112@elasticpath.com |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/requests/count
> Accept: application/json, text/plain, */*
> Content-Type: application/x-www-form-urlencoded
> User-Agent: axios/0.19.2
>
> {"method":"GET","url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112"}
< HTTP ?.? 200 OK
< connection: close
< content-type: application/json
< server: Jetty(9.4.20.v20190813)
<
< {
"count": 1,
"requestJournalDisabled": false
}
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111112
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store:
> User-Agent: axios/0.19.2
>
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 185
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111112
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> User-Agent: axios/0.19.2
>
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 185
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"errors\":[{\"detail\":\"The user authentication info id was not found: 00000000-0000-1000-8000-111111111112\",\"status\":\"404\",\"title\":\"User authentication info not found\"}],\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111112
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 70
< connection: close
<
< {
"errors": [
{
"detail": "not found",
"status": "404",
"title": "Not Found"
}
]
}
| status | title | detail |
|---|---|---|
| 404 | Not Found | not found |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> PUT http://localhost:8087/v2/account-members/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> User-Agent: axios/0.19.2
>
> {
"data": {
"some": "data"
}
}
< HTTP ?.? 404 Not Found
< content-type: text/plain
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 18
< connection: close
<
< "404 page not found"
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> User-Agent: axios/0.19.2
>
> {
"data": {
"some": "data"
}
}
< HTTP ?.? 404 Not Found
< content-type: text/plain
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 18
< connection: close
<
< "404 page not found"
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
**** Approximate HTTP Request & Response w/ Some Post Processing **** > DELETE http://localhost:8087/v2/account-members/ > Accept: application/json, text/plain, */* > Content-Type: application/json > User-Agent: axios/0.19.2 > < HTTP ?.? 404 Not Found < content-type: text/plain < date: Thu, 15 Apr 2021 19:09:29 GMT < content-length: 18 < connection: close < < "404 page not found"
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111112
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 297
< connection: close
<
< {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member",
"name": "User with ID 00000000-0000-1000-8000-111111111112",
"email": "00000000-0000-1000-8000-111111111112@elasticpath.com"
},
"links": {
"self": "http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111112"
}
}
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"errors\":[{\"detail\":\"The user authentication info id was not found: 00000000-0000-1000-8000-111111111112\",\"status\":\"404\",\"title\":\"User authentication info not found\"}],\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111112
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 297
< connection: close
<
< {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member",
"name": "User with ID 00000000-0000-1000-8000-111111111112",
"email": "00000000-0000-1000-8000-111111111112@elasticpath.com"
},
"links": {
"self": "http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111112"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111112
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 70
< connection: close
<
< {
"errors": [
{
"detail": "not found",
"status": "404",
"title": "Not Found"
}
]
}
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | namePrefix | emailSuffix | userIds |
|---|---|---|---|
| 00000000-0000-1000-8000-111111111111 | User With ID | @elasticpath.com | 10000000-0000-1000-8000-111111111111,20000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/10000000-0000-1000-8000-111111111111","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"10000000-0000-1000-8000-111111111111\",\"name\":\"User With ID10000000-0000-1000-8000-111111111111\",\"email\":\"10000000-0000-1000-8000-111111111111@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/10000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/20000000-0000-1000-8000-111111111111","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"20000000-0000-1000-8000-111111111111\",\"name\":\"User With ID20000000-0000-1000-8000-111111111111\",\"email\":\"20000000-0000-1000-8000-111111111111@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/20000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/10000000-0000-1000-8000-111111111111
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 296
< connection: close
<
< {
"data": {
"id": "10000000-0000-1000-8000-111111111111",
"type": "account_member",
"name": "User With ID10000000-0000-1000-8000-111111111111",
"email": "10000000-0000-1000-8000-111111111111@elasticpath.com"
},
"links": {
"self": "http://localhost:8087/v2/account-members/10000000-0000-1000-8000-111111111111"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/20000000-0000-1000-8000-111111111111
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 296
< connection: close
<
< {
"data": {
"id": "20000000-0000-1000-8000-111111111111",
"type": "account_member",
"name": "User With ID20000000-0000-1000-8000-111111111111",
"email": "20000000-0000-1000-8000-111111111111@elasticpath.com"
},
"links": {
"self": "http://localhost:8087/v2/account-members/20000000-0000-1000-8000-111111111111"
}
}
| realmId | namePrefix | emailSuffix | userIds |
|---|---|---|---|
| 00000000-0000-1000-8000-111111111111 | User With ID | @elasticpath.com | 30000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/30000000-0000-1000-8000-111111111111","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"30000000-0000-1000-8000-111111111111\",\"name\":\"User With ID30000000-0000-1000-8000-111111111111\",\"email\":\"30000000-0000-1000-8000-111111111111@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/30000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/30000000-0000-1000-8000-111111111111
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000002
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 296
< connection: close
<
< {
"data": {
"id": "30000000-0000-1000-8000-111111111111",
"type": "account_member",
"name": "User With ID30000000-0000-1000-8000-111111111111",
"email": "30000000-0000-1000-8000-111111111111@elasticpath.com"
},
"links": {
"self": "http://localhost:8087/v2/account-members/30000000-0000-1000-8000-111111111111"
}
}
| store_id | page-limit | page-offset |
|---|---|---|
| 00000000-0000-1000-8000-000000000001 | 3 | 0 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/?page[limit]=3&page[offset]=0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 963
< connection: close
<
< {
"meta": {
"page": {
"limit": 3,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 2
}
},
"data": [
{
"id": "10000000-0000-1000-8000-111111111111",
"type": "account_member",
"name": "User With ID10000000-0000-1000-8000-111111111111",
"email": "10000000-0000-1000-8000-111111111111@elasticpath.com",
"links": {
"self": "http://localhost:8087/v2/account-members/10000000-0000-1000-8000-111111111111"
}
},
{
"id": "20000000-0000-1000-8000-111111111111",
"type": "account_member",
"name": "User With ID20000000-0000-1000-8000-111111111111",
"email": "20000000-0000-1000-8000-111111111111@elasticpath.com",
"links": {
"self": "http://localhost:8087/v2/account-members/20000000-0000-1000-8000-111111111111"
}
}
],
"links": {
"current": "http://localhost:8087/v2/account-members?page[offset]=0&page[limit]=3",
"first": "http://localhost:8087/v2/account-members?page[offset]=0&page[limit]=3",
"last": "http://localhost:8087/v2/account-members?page[limit]=3&page[offset]=0",
"next": "null",
"prev": "null"
}
}
| name_prefix | email_suffix | user_ids |
|---|---|---|
| User With ID | @elasticpath.com | 10000000-0000-1000-8000-111111111111,20000000-0000-1000-8000-111111111111 |
| self | first | last | next | prev |
|---|---|---|---|---|
| X | X | X |
| limit | 3 |
|---|---|
| offset | 0 |
| current | 1 |
| total | 1 |
| store_id | page-limit | page-offset |
|---|---|---|
| 00000000-0000-1000-8000-000000000002 | 2 | 0 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/?page[limit]=2&page[offset]=0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000002
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 675
< connection: close
<
< {
"meta": {
"page": {
"limit": 2,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 1
}
},
"data": [
{
"id": "30000000-0000-1000-8000-111111111111",
"type": "account_member",
"name": "User With ID30000000-0000-1000-8000-111111111111",
"email": "30000000-0000-1000-8000-111111111111@elasticpath.com",
"links": {
"self": "http://localhost:8087/v2/account-members/30000000-0000-1000-8000-111111111111"
}
}
],
"links": {
"current": "http://localhost:8087/v2/account-members?page[offset]=0&page[limit]=2",
"first": "http://localhost:8087/v2/account-members?page[offset]=0&page[limit]=2",
"last": "http://localhost:8087/v2/account-members?page[offset]=0&page[limit]=2",
"next": "null",
"prev": "null"
}
}
| name_prefix | email_suffix | user_ids |
|---|---|---|
| User With ID | @elasticpath.com | 30000000-0000-1000-8000-111111111111 |
| self | first | last | next | prev |
|---|---|---|---|---|
| X | X | X |
| limit | 2 |
|---|---|
| offset | 0 |
| current | 1 |
| total | 1 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222211 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "5beedd0f-10c0-49bf-85f1-814ef9e19448",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:29.884Z",
"updated_at": "2021-04-15T19:09:29.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/5beedd0f-10c0-49bf-85f1-814ef9e19448"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222212 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "bb5b1cc1-85fd-439b-8063-15b3b7b52324",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:29.884Z",
"updated_at": "2021-04-15T19:09:29.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/bb5b1cc1-85fd-439b-8063-15b3b7b52324"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/bb5b1cc1-85fd-439b-8063-15b3b7b52324/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "c1a107ad-cfb6-4504-a36c-84b09946dbf3",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:29.884Z",
"updated_at": "2021-04-15T19:09:29.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/bb5b1cc1-85fd-439b-8063-15b3b7b52324/account-memberships/c1a107ad-cfb6-4504-a36c-84b09946dbf3"
}
}
| account_member_id |
|---|
| 00000000-0000-1000-8000-111111111112 |
| account_id | store_id | account_membership_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/bb5b1cc1-85fd-439b-8063-15b3b7b52324/account-memberships/c1a107ad-cfb6-4504-a36c-84b09946dbf3
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "c1a107ad-cfb6-4504-a36c-84b09946dbf3",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:29.884Z",
"updated_at": "2021-04-15T19:09:29.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/bb5b1cc1-85fd-439b-8063-15b3b7b52324/account-memberships/c1a107ad-cfb6-4504-a36c-84b09946dbf3"
}
}
| account_member_id |
|---|
| 00000000-0000-1000-8000-111111111112 |
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/5beedd0f-10c0-49bf-85f1-814ef9e19448/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "4013ba7b-be77-4c72-9405-29f5161bd5b9",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:29.884Z",
"updated_at": "2021-04-15T19:09:29.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/5beedd0f-10c0-49bf-85f1-814ef9e19448/account-memberships/4013ba7b-be77-4c72-9405-29f5161bd5b9"
}
}
| account_member_id |
|---|
| 00000000-0000-1000-8000-111111111112 |
| account_id | store_id | account_membership_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/5beedd0f-10c0-49bf-85f1-814ef9e19448/account-memberships/4013ba7b-be77-4c72-9405-29f5161bd5b9
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "4013ba7b-be77-4c72-9405-29f5161bd5b9",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:29.884Z",
"updated_at": "2021-04-15T19:09:29.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/5beedd0f-10c0-49bf-85f1-814ef9e19448/account-memberships/4013ba7b-be77-4c72-9405-29f5161bd5b9"
}
}
| account_member_id |
|---|
| 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/requests/count
> Accept: application/json, text/plain, */*
> Content-Type: application/x-www-form-urlencoded
> User-Agent: axios/0.19.2
>
> {"method":"GET","url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112"}
< HTTP ?.? 200 OK
< connection: close
< content-type: application/json
< server: Jetty(9.4.20.v20190813)
<
< {
"count": 1,
"requestJournalDisabled": false
}
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111113 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111113","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111113\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111113\",\"email\":\"00000000-0000-1000-8000-111111111113@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111113\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111113 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/5beedd0f-10c0-49bf-85f1-814ef9e19448/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111113"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "41e772d1-c344-4937-9c73-8c1650d55f35",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:29.884Z",
"updated_at": "2021-04-15T19:09:29.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111113",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/5beedd0f-10c0-49bf-85f1-814ef9e19448/account-memberships/41e772d1-c344-4937-9c73-8c1650d55f35"
}
}
| account_member_id |
|---|
| 00000000-0000-1000-8000-111111111113 |
| account_id | store_id | account_membership_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/5beedd0f-10c0-49bf-85f1-814ef9e19448/account-memberships/41e772d1-c344-4937-9c73-8c1650d55f35
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "41e772d1-c344-4937-9c73-8c1650d55f35",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:29.884Z",
"updated_at": "2021-04-15T19:09:29.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111113",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/5beedd0f-10c0-49bf-85f1-814ef9e19448/account-memberships/41e772d1-c344-4937-9c73-8c1650d55f35"
}
}
| account_member_id |
|---|
| 00000000-0000-1000-8000-111111111113 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"errors\":[{\"detail\":\"The user authentication info id was not found: 00000000-0000-1000-8000-111111111112\",\"status\":\"404\",\"title\":\"User authentication info not found\"}],\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222211 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "5fbb3c30-8330-4707-8685-084742e6a05b",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:29.884Z",
"updated_at": "2021-04-15T19:09:29.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/5fbb3c30-8330-4707-8685-084742e6a05b"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/5fbb3c30-8330-4707-8685-084742e6a05b/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:29 GMT
< content-length: 70
< connection: close
<
< {
"errors": [
{
"detail": "not found",
"status": "404",
"title": "Not Found"
}
]
}
| status | title | detail |
|---|---|---|
| 404 | Not Found | not found |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222211 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "c34bfe7b-41ec-4756-a56f-c62e3c43d8c5",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/c34bfe7b-41ec-4756-a56f-c62e3c43d8c5"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222212 | account | 00000000-0000-1000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "99f8f49a-5004-4dca-8a5b-71854065c543",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/99f8f49a-5004-4dca-8a5b-71854065c543"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000001 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/c34bfe7b-41ec-4756-a56f-c62e3c43d8c5/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 78
< connection: close
<
< {
"errors": [
{
"detail": "account not found",
"status": "404",
"title": "Not Found"
}
]
}
| status | title | detail |
|---|---|---|
| 404 | Not Found | account not found |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222211 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "c5d9ed8f-dc09-44d6-bb22-2b17c58f3352",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/c5d9ed8f-dc09-44d6-bb22-2b17c58f3352"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/c5d9ed8f-dc09-44d6-bb22-2b17c58f3352/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "02f29258-053c-4606-b433-70375d74dd15",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/c5d9ed8f-dc09-44d6-bb22-2b17c58f3352/account-memberships/02f29258-053c-4606-b433-70375d74dd15"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/c5d9ed8f-dc09-44d6-bb22-2b17c58f3352/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 409 Conflict
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 141
< connection: close
<
< {
"errors": [
{
"detail": "account membership with the given account id and account member id already exists",
"status": "409",
"title": "Conflict"
}
]
}
| status | title | detail |
|---|---|---|
| 409 | Conflict | account membership with the given account id and account member id already exists |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222211 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "e6a76a11-8aff-4274-acf8-0d3d6076aacc",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/e6a76a11-8aff-4274-acf8-0d3d6076aacc"
}
}
| account_id | store_id | account_member_id | type |
|---|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 | wrong-type |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/e6a76a11-8aff-4274-acf8-0d3d6076aacc/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "wrong-type",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 185
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateAccountMembership.Type' Error:Field validation for 'Type' failed on the 'account-membership-type' tag",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | title | detail |
|---|---|---|
| 422 | Unprocessable Entity | Key: 'CreateAccountMembership.Type' Error:Field validation for 'Type' failed on the 'account-membership-type' tag |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111111","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111111\",\"email\":\"00000000-0000-1000-8000-111111111111@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111111
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 297
< connection: close
<
< {
"data": {
"id": "00000000-0000-1000-8000-111111111111",
"type": "account_member",
"name": "User with ID 00000000-0000-1000-8000-111111111111",
"email": "00000000-0000-1000-8000-111111111111@elasticpath.com"
},
"links": {
"self": "http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111111"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222211 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "6940eb9b-3caa-4cc8-9d0c-bbf9d3ee4fd9",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/6940eb9b-3caa-4cc8-9d0c-bbf9d3ee4fd9"
}
}
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111111","method":"GET"},"response":{"status":200,"body":"{\"errors\":[{\"detail\":\"The user authentication info id was not found: 00000000-0000-1000-8000-111111111111\",\"status\":\"404\",\"title\":\"User authentication info not found\"}],\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/6940eb9b-3caa-4cc8-9d0c-bbf9d3ee4fd9/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111111"
}
}
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 70
< connection: close
<
< {
"errors": [
{
"detail": "not found",
"status": "404",
"title": "Not Found"
}
]
}
| status | title | detail |
|---|---|---|
| 404 | Not Found | not found |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> PUT http://localhost:8087/v2/accounts/00000000-0000-0000-0000-0000000000/account-memberships
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> User-Agent: axios/0.19.2
>
> {
"data": {
"some": "data"
}
}
< HTTP ?.? 405 Method Not Allowed
< content-type: text/plain
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 22
< connection: close
<
< "405 method not allowed"
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
**** Approximate HTTP Request & Response w/ Some Post Processing **** > DELETE http://localhost:8087/v2/accounts/00000000-0000-0000-0000-0000000000/account-memberships > Accept: application/json, text/plain, */* > Content-Type: application/json > User-Agent: axios/0.19.2 > < HTTP ?.? 405 Method Not Allowed < content-type: text/plain < date: Thu, 15 Apr 2021 19:09:30 GMT < content-length: 22 < connection: close < < "405 method not allowed"
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> PUT http://localhost:8087/v2/accounts/00000000-0000-0000-0000-0000000000/account-memberships/00000000-0000-0000-0000-0000000000
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> User-Agent: axios/0.19.2
>
> {
"data": {
"some": "data"
}
}
< HTTP ?.? 405 Method Not Allowed
< content-type: text/plain
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 22
< connection: close
<
< "405 method not allowed"
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111113 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111113","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111113\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111113\",\"email\":\"00000000-0000-1000-8000-111111111113@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111113\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111114 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111114","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111114\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111114\",\"email\":\"00000000-0000-1000-8000-111111111114@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111114\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222211 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "f050c724-f492-4512-8be6-3132f6cc6486",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f050c724-f492-4512-8be6-3132f6cc6486"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/f050c724-f492-4512-8be6-3132f6cc6486/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "3fbbed3d-1baa-42ae-a15e-bd8e2aa259a9",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f050c724-f492-4512-8be6-3132f6cc6486/account-memberships/3fbbed3d-1baa-42ae-a15e-bd8e2aa259a9"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111113 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/f050c724-f492-4512-8be6-3132f6cc6486/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111113"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "4ef144b8-ab37-467c-b73c-083dae66c767",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111113",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f050c724-f492-4512-8be6-3132f6cc6486/account-memberships/4ef144b8-ab37-467c-b73c-083dae66c767"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222212 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "630d6541-c50e-40c8-9ae4-75322839d514",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/630d6541-c50e-40c8-9ae4-75322839d514"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/630d6541-c50e-40c8-9ae4-75322839d514/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "1a41bde9-7633-4fcd-9da6-e472e67a933a",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/630d6541-c50e-40c8-9ae4-75322839d514/account-memberships/1a41bde9-7633-4fcd-9da6-e472e67a933a"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222213 | account | 00000000-0000-1000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222213"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "6f561865-76e6-4306-b356-fd3788653646",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222213",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/6f561865-76e6-4306-b356-fd3788653646"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000001 | 00000000-0000-1000-8000-111111111114 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/6f561865-76e6-4306-b356-fd3788653646/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111114"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "37eb137d-2a7b-4394-9506-cd837c2b86c1",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111114",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/6f561865-76e6-4306-b356-fd3788653646/account-memberships/37eb137d-2a7b-4394-9506-cd837c2b86c1"
}
}
| account_id | store_id | account_membership_id |
|---|---|---|
| previous-1 | 00000000-0000-1000-8000-000000000000 | previous-1 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > DELETE http://localhost:8087/v2/accounts/f050c724-f492-4512-8be6-3132f6cc6486/account-memberships/3fbbed3d-1baa-42ae-a15e-bd8e2aa259a9 > Accept: application/json, text/plain, */* > Content-Type: application/json > X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000 > User-Agent: axios/0.19.2 > < HTTP ?.? 204 No Content < content-type: application/json; charset=utf-8 < date: Thu, 15 Apr 2021 19:09:30 GMT < connection: close < < ""
| account_id | store_id | account_membership_id |
|---|---|---|
| previous-1 | 00000000-0000-1000-8000-000000000000 | previous-1 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/f050c724-f492-4512-8be6-3132f6cc6486/account-memberships/3fbbed3d-1baa-42ae-a15e-bd8e2aa259a9
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 129
< connection: close
<
< {
"errors": [
{
"detail": "Repository.GetAccountMembership failed: account membership not found",
"status": "404",
"title": "Not Found"
}
]
}
| account_id | store_id | account_membership_id |
|---|---|---|
| previous-1 | 00000000-0000-1000-8000-000000000000 | previous-2 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/f050c724-f492-4512-8be6-3132f6cc6486/account-memberships/4ef144b8-ab37-467c-b73c-083dae66c767
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "4ef144b8-ab37-467c-b73c-083dae66c767",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111113",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f050c724-f492-4512-8be6-3132f6cc6486/account-memberships/4ef144b8-ab37-467c-b73c-083dae66c767"
}
}
| account_id | store_id | account_membership_id |
|---|---|---|
| previous-2 | 00000000-0000-1000-8000-000000000000 | previous-3 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/630d6541-c50e-40c8-9ae4-75322839d514/account-memberships/1a41bde9-7633-4fcd-9da6-e472e67a933a
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "1a41bde9-7633-4fcd-9da6-e472e67a933a",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/630d6541-c50e-40c8-9ae4-75322839d514/account-memberships/1a41bde9-7633-4fcd-9da6-e472e67a933a"
}
}
| account_id | store_id | account_membership_id |
|---|---|---|
| previous-3 | 00000000-0000-1000-8000-000000000001 | previous-4 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/6f561865-76e6-4306-b356-fd3788653646/account-memberships/37eb137d-2a7b-4394-9506-cd837c2b86c1
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "37eb137d-2a7b-4394-9506-cd837c2b86c1",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111114",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/6f561865-76e6-4306-b356-fd3788653646/account-memberships/37eb137d-2a7b-4394-9506-cd837c2b86c1"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111113 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111113","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111113\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111113\",\"email\":\"00000000-0000-1000-8000-111111111113@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111113\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222211 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "3a43487e-9407-47c3-ac33-9ac083aa5e49",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3a43487e-9407-47c3-ac33-9ac083aa5e49"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/3a43487e-9407-47c3-ac33-9ac083aa5e49/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "4e46592e-2b5f-4b77-93c5-27afd5b94849",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3a43487e-9407-47c3-ac33-9ac083aa5e49/account-memberships/4e46592e-2b5f-4b77-93c5-27afd5b94849"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222212 | account | 00000000-0000-1000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "9da23c38-89e9-4f76-ada2-5c80e5598d5d",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/9da23c38-89e9-4f76-ada2-5c80e5598d5d"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000001 | 00000000-0000-1000-8000-111111111113 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/9da23c38-89e9-4f76-ada2-5c80e5598d5d/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111113"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "d0906f20-eaa7-495b-9dea-ae8f66dc3a77",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111113",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/9da23c38-89e9-4f76-ada2-5c80e5598d5d/account-memberships/d0906f20-eaa7-495b-9dea-ae8f66dc3a77"
}
}
| account_id | store_id | account_membership_id |
|---|---|---|
| previous-2 | 00000000-0000-1000-8000-000000000000 | previous-2 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> DELETE http://localhost:8087/v2/accounts/9da23c38-89e9-4f76-ada2-5c80e5598d5d/account-memberships/d0906f20-eaa7-495b-9dea-ae8f66dc3a77
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 89
< connection: close
<
< {
"errors": [
{
"detail": "account membership not found",
"status": "404",
"title": "Not Found"
}
]
}
| account_id | store_id | account_membership_id |
|---|---|---|
| previous-1 | 00000000-0000-1000-8000-000000000000 | previous-1 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/3a43487e-9407-47c3-ac33-9ac083aa5e49/account-memberships/4e46592e-2b5f-4b77-93c5-27afd5b94849
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "4e46592e-2b5f-4b77-93c5-27afd5b94849",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3a43487e-9407-47c3-ac33-9ac083aa5e49/account-memberships/4e46592e-2b5f-4b77-93c5-27afd5b94849"
}
}
| account_id | store_id | account_membership_id |
|---|---|---|
| previous-2 | 00000000-0000-1000-8000-000000000001 | previous-2 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/9da23c38-89e9-4f76-ada2-5c80e5598d5d/account-memberships/d0906f20-eaa7-495b-9dea-ae8f66dc3a77
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "d0906f20-eaa7-495b-9dea-ae8f66dc3a77",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111113",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/9da23c38-89e9-4f76-ada2-5c80e5598d5d/account-memberships/d0906f20-eaa7-495b-9dea-ae8f66dc3a77"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111113 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111113","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111113\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111113\",\"email\":\"00000000-0000-1000-8000-111111111113@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111113\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111114 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111114","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111114\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111114\",\"email\":\"00000000-0000-1000-8000-111111111114@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111114\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222211 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "252a7ad5-6106-42ca-ae88-a45d6efacb35",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/252a7ad5-6106-42ca-ae88-a45d6efacb35"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/252a7ad5-6106-42ca-ae88-a45d6efacb35/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:30 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "d4e97849-e151-4d73-bc9f-a7281493b8a3",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/252a7ad5-6106-42ca-ae88-a45d6efacb35/account-memberships/d4e97849-e151-4d73-bc9f-a7281493b8a3"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222212 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "743580da-c540-4606-bf50-2806688b4a51",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/743580da-c540-4606-bf50-2806688b4a51"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/743580da-c540-4606-bf50-2806688b4a51/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "2761233d-0d18-4e26-a8b9-14a258323472",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/743580da-c540-4606-bf50-2806688b4a51/account-memberships/2761233d-0d18-4e26-a8b9-14a258323472"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111113 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/743580da-c540-4606-bf50-2806688b4a51/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111113"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "ca5e8237-60e0-4e99-a504-8c8817cc0266",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111113",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/743580da-c540-4606-bf50-2806688b4a51/account-memberships/ca5e8237-60e0-4e99-a504-8c8817cc0266"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222213 | account | 00000000-0000-1000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222213"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "3660e651-0ed1-4697-93f4-887602103403",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222213",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3660e651-0ed1-4697-93f4-887602103403"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000001 | 00000000-0000-1000-8000-111111111114 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/3660e651-0ed1-4697-93f4-887602103403/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111114"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "32519917-c3bc-4b84-b6f7-764cc2e08751",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111114",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3660e651-0ed1-4697-93f4-887602103403/account-memberships/32519917-c3bc-4b84-b6f7-764cc2e08751"
}
}
| account_id | store_id | page-limit | page-offset |
|---|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 3 | 0 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/252a7ad5-6106-42ca-ae88-a45d6efacb35/account-memberships?page[limit]=3&page[offset]=0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 976
< connection: close
<
< {
"meta": {
"page": {
"limit": 3,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 1
}
},
"data": [
{
"id": "d4e97849-e151-4d73-bc9f-a7281493b8a3",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:30.884Z",
"updated_at": "2021-04-15T19:09:30.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/252a7ad5-6106-42ca-ae88-a45d6efacb35/account-memberships/d4e97849-e151-4d73-bc9f-a7281493b8a3"
}
}
],
"links": {
"current": "http://localhost:8087/v2/accounts/252a7ad5-6106-42ca-ae88-a45d6efacb35/account-memberships?page[offset]=0&page[limit]=3",
"first": "http://localhost:8087/v2/accounts/252a7ad5-6106-42ca-ae88-a45d6efacb35/account-memberships?page[offset]=0&page[limit]=3",
"last": "http://localhost:8087/v2/accounts/252a7ad5-6106-42ca-ae88-a45d6efacb35/account-memberships?page[offset]=0&page[limit]=3",
"next": "null",
"prev": "null"
}
}
| account_id | account_member_id |
|---|---|
|
|
00000000-0000-1000-8000-111111111112 |
| current | first | last | next | prev |
|---|---|---|---|---|
| X | X | X |
| limit | 3 |
|---|---|
| offset | 0 |
| current | 1 |
| total | 1 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111113 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111113","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111113\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111113\",\"email\":\"00000000-0000-1000-8000-111111111113@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111113\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111114 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111114","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111114\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111114\",\"email\":\"00000000-0000-1000-8000-111111111114@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111114\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222211 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "0c0286a1-2351-478c-85af-4add4a0fce42",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/0c0286a1-2351-478c-85af-4add4a0fce42"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/0c0286a1-2351-478c-85af-4add4a0fce42/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "bff2c37e-fa0e-456c-a9c5-805ae3d9327d",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/0c0286a1-2351-478c-85af-4add4a0fce42/account-memberships/bff2c37e-fa0e-456c-a9c5-805ae3d9327d"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222212 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "f3067d4b-0573-4932-9afc-313297e782b8",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f3067d4b-0573-4932-9afc-313297e782b8"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/f3067d4b-0573-4932-9afc-313297e782b8/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "408cd3fa-a145-4c07-8ae2-38c6f7b5c463",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f3067d4b-0573-4932-9afc-313297e782b8/account-memberships/408cd3fa-a145-4c07-8ae2-38c6f7b5c463"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111113 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/f3067d4b-0573-4932-9afc-313297e782b8/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111113"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "fe538afe-470e-4361-b8e3-7dd3dbdf8c1b",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111113",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f3067d4b-0573-4932-9afc-313297e782b8/account-memberships/fe538afe-470e-4361-b8e3-7dd3dbdf8c1b"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222213 | account | 00000000-0000-1000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222213"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "2208d74f-964f-4a4c-a99c-9a9a98b7997a",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222213",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/2208d74f-964f-4a4c-a99c-9a9a98b7997a"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000001 | 00000000-0000-1000-8000-111111111114 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/2208d74f-964f-4a4c-a99c-9a9a98b7997a/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111114"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "874701b7-8461-4411-8c46-44fc354d9315",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111114",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/2208d74f-964f-4a4c-a99c-9a9a98b7997a/account-memberships/874701b7-8461-4411-8c46-44fc354d9315"
}
}
| account_id | store_id | page-limit | page-offset |
|---|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 3 | 0 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/f3067d4b-0573-4932-9afc-313297e782b8/account-memberships?page[limit]=3&page[offset]=0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 1415
< connection: close
<
< {
"meta": {
"page": {
"limit": 3,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 2
}
},
"data": [
{
"id": "408cd3fa-a145-4c07-8ae2-38c6f7b5c463",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f3067d4b-0573-4932-9afc-313297e782b8/account-memberships/408cd3fa-a145-4c07-8ae2-38c6f7b5c463"
}
},
{
"id": "fe538afe-470e-4361-b8e3-7dd3dbdf8c1b",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111113",
"type": "account_member"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f3067d4b-0573-4932-9afc-313297e782b8/account-memberships/fe538afe-470e-4361-b8e3-7dd3dbdf8c1b"
}
}
],
"links": {
"current": "http://localhost:8087/v2/accounts/f3067d4b-0573-4932-9afc-313297e782b8/account-memberships?page[offset]=0&page[limit]=3",
"first": "http://localhost:8087/v2/accounts/f3067d4b-0573-4932-9afc-313297e782b8/account-memberships?page[offset]=0&page[limit]=3",
"last": "http://localhost:8087/v2/accounts/f3067d4b-0573-4932-9afc-313297e782b8/account-memberships?page[limit]=3&page[offset]=0",
"next": "null",
"prev": "null"
}
}
| account_id | account_member_id |
|---|---|
|
|
00000000-0000-1000-8000-111111111112,00000000-0000-1000-8000-111111111113 |
| current | first | last | next | prev |
|---|---|---|---|---|
| X | X | X |
| limit | 3 |
|---|---|
| offset | 0 |
| current | 1 |
| total | 1 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111113 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111113","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111113\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111113\",\"email\":\"00000000-0000-1000-8000-111111111113@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111113\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111114 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111114","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111114\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111114\",\"email\":\"00000000-0000-1000-8000-111111111114@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111114\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222211 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "917f1143-445b-4fca-a009-4babc9a4ff3c",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/917f1143-445b-4fca-a009-4babc9a4ff3c"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/917f1143-445b-4fca-a009-4babc9a4ff3c/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "cfbaf540-64b7-4ad0-b2dd-0430f4a6ab69",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/917f1143-445b-4fca-a009-4babc9a4ff3c/account-memberships/cfbaf540-64b7-4ad0-b2dd-0430f4a6ab69"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222212 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "86248706-3e70-49f5-a52a-4c52359ad672",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/86248706-3e70-49f5-a52a-4c52359ad672"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/86248706-3e70-49f5-a52a-4c52359ad672/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "2f836ca0-9410-4523-a770-99a3dc211354",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/86248706-3e70-49f5-a52a-4c52359ad672/account-memberships/2f836ca0-9410-4523-a770-99a3dc211354"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111113 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/86248706-3e70-49f5-a52a-4c52359ad672/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111113"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "62597a13-9dcd-4521-ab14-66e9b79b7fd0",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111113",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/86248706-3e70-49f5-a52a-4c52359ad672/account-memberships/62597a13-9dcd-4521-ab14-66e9b79b7fd0"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222213 | account | 00000000-0000-1000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222213"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "d1093c3e-9bfa-4f74-9ca8-f134ea045886",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222213",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/d1093c3e-9bfa-4f74-9ca8-f134ea045886"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000001 | 00000000-0000-1000-8000-111111111114 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/d1093c3e-9bfa-4f74-9ca8-f134ea045886/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111114"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "8dc5ddea-4a3f-4c18-8f68-e243675b51c6",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111114",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/d1093c3e-9bfa-4f74-9ca8-f134ea045886/account-memberships/8dc5ddea-4a3f-4c18-8f68-e243675b51c6"
}
}
| account_id | store_id | page-limit | page-offset |
|---|---|---|---|
|
|
00000000-0000-1000-8000-000000000001 | 3 | 0 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/d1093c3e-9bfa-4f74-9ca8-f134ea045886/account-memberships?page[limit]=3&page[offset]=0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 976
< connection: close
<
< {
"meta": {
"page": {
"limit": 3,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 1
}
},
"data": [
{
"id": "8dc5ddea-4a3f-4c18-8f68-e243675b51c6",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111114",
"type": "account_member"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/d1093c3e-9bfa-4f74-9ca8-f134ea045886/account-memberships/8dc5ddea-4a3f-4c18-8f68-e243675b51c6"
}
}
],
"links": {
"current": "http://localhost:8087/v2/accounts/d1093c3e-9bfa-4f74-9ca8-f134ea045886/account-memberships?page[offset]=0&page[limit]=3",
"first": "http://localhost:8087/v2/accounts/d1093c3e-9bfa-4f74-9ca8-f134ea045886/account-memberships?page[offset]=0&page[limit]=3",
"last": "http://localhost:8087/v2/accounts/d1093c3e-9bfa-4f74-9ca8-f134ea045886/account-memberships?page[limit]=3&page[offset]=0",
"next": "null",
"prev": "null"
}
}
| account_id | account_member_id |
|---|---|
|
|
00000000-0000-1000-8000-111111111114 |
| current | first | last | next | prev |
|---|---|---|---|---|
| X | X | X |
| limit | 3 |
|---|---|
| offset | 0 |
| current | 1 |
| total | 1 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111112\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111112\",\"email\":\"00000000-0000-1000-8000-111111111112@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111112\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111113 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111113","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111113\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111113\",\"email\":\"00000000-0000-1000-8000-111111111113@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111113\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111114 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111114","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111114\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111114\",\"email\":\"00000000-0000-1000-8000-111111111114@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111114\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222211 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "d957320d-b536-4501-8c40-d36b4a118db0",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/d957320d-b536-4501-8c40-d36b4a118db0"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/d957320d-b536-4501-8c40-d36b4a118db0/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "bc04a158-5e6a-4d9c-8981-d8544af42729",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/d957320d-b536-4501-8c40-d36b4a118db0/account-memberships/bc04a158-5e6a-4d9c-8981-d8544af42729"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222212 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "6b1ea729-86e4-4a2d-abb3-59dc93a5cc5c",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/6b1ea729-86e4-4a2d-abb3-59dc93a5cc5c"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111112 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/6b1ea729-86e4-4a2d-abb3-59dc93a5cc5c/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111112"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "0c157213-c937-4dfe-9809-8525d48ef658",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111112",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/6b1ea729-86e4-4a2d-abb3-59dc93a5cc5c/account-memberships/0c157213-c937-4dfe-9809-8525d48ef658"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111113 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/6b1ea729-86e4-4a2d-abb3-59dc93a5cc5c/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111113"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "bfcf85aa-1711-462c-a9a8-41c76f5a2d74",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111113",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/6b1ea729-86e4-4a2d-abb3-59dc93a5cc5c/account-memberships/bfcf85aa-1711-462c-a9a8-41c76f5a2d74"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222213 | account | 00000000-0000-1000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222213"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "1e2439a2-42fb-4176-8ae2-951392f137f2",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222213",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/1e2439a2-42fb-4176-8ae2-951392f137f2"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000001 | 00000000-0000-1000-8000-111111111114 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/1e2439a2-42fb-4176-8ae2-951392f137f2/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111114"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "caee753d-dfb8-446d-96c2-30a6cbd12899",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111114",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/1e2439a2-42fb-4176-8ae2-951392f137f2/account-memberships/caee753d-dfb8-446d-96c2-30a6cbd12899"
}
}
| account_id | store_id | page-limit | page-offset |
|---|---|---|---|
|
|
00000000-0000-1000-8000-000000000001 | 3 | 0 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/d957320d-b536-4501-8c40-d36b4a118db0/account-memberships?page[limit]=3&page[offset]=0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 78
< connection: close
<
< {
"errors": [
{
"detail": "account not found",
"status": "404",
"title": "Not Found"
}
]
}
| status | title | detail |
|---|---|---|
| 404 | Not Found | account not found |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111222 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111222","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111222\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111222\",\"email\":\"00000000-0000-1000-8000-111111111222@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111222\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111222 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111222","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111222\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111222\",\"email\":\"00000000-0000-1000-8000-111111111222@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111222\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111333 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111333","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111333\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111333\",\"email\":\"00000000-0000-1000-8000-111111111333@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111333\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222211 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "40fc4dc8-b4ff-42b5-8a5a-72ec37808961",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/40fc4dc8-b4ff-42b5-8a5a-72ec37808961"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111222 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/40fc4dc8-b4ff-42b5-8a5a-72ec37808961/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111222"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "624869f0-47e1-4d76-9ff1-9a0e5bb64261",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111222",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/40fc4dc8-b4ff-42b5-8a5a-72ec37808961/account-memberships/624869f0-47e1-4d76-9ff1-9a0e5bb64261"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222212 | account | 00000000-0000-1000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "79cd333c-7a32-4ea1-882e-f0dc2b290a15",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/79cd333c-7a32-4ea1-882e-f0dc2b290a15"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000001 | 00000000-0000-1000-8000-111111111333 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/79cd333c-7a32-4ea1-882e-f0dc2b290a15/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111333"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "4badf010-b8ba-4d24-bfde-6236161e6cf9",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111333",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/79cd333c-7a32-4ea1-882e-f0dc2b290a15/account-memberships/4badf010-b8ba-4d24-bfde-6236161e6cf9"
}
}
| account_id | store_id | account_membership_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/79cd333c-7a32-4ea1-882e-f0dc2b290a15/account-memberships/4badf010-b8ba-4d24-bfde-6236161e6cf9
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 129
< connection: close
<
< {
"errors": [
{
"detail": "Repository.GetAccountMembership failed: account membership not found",
"status": "404",
"title": "Not Found"
}
]
}
| status | title | detail |
|---|---|---|
| 404 | Not Found | Repository.GetAccountMembership failed: account membership not found |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| realmId |
|---|
| 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111111\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-1000-8000-111111111111\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 00000000-0000-1000-8000-111111111222 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111222","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"00000000-0000-1000-8000-111111111222\",\"name\":\"User with ID 00000000-0000-1000-8000-111111111222\",\"email\":\"00000000-0000-1000-8000-111111111222@elasticpath.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-1000-8000-111111111111/user-authentication-info/00000000-0000-1000-8000-111111111222\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222211 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "5adcfced-ab0a-4a22-9c90-9f2cb56c8358",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222211",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/5adcfced-ab0a-4a22-9c90-9f2cb56c8358"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-2222222222212 | account | 00000000-0000-1000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 396
< connection: close
<
< {
"data": {
"id": "db718779-ec6e-4bd1-802e-cd940488e477",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-2222222222212",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/db718779-ec6e-4bd1-802e-cd940488e477"
}
}
| account_id | store_id | account_member_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000001 | 00000000-0000-1000-8000-111111111222 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/db718779-ec6e-4bd1-802e-cd940488e477/account-memberships/
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account_membership",
"account_member_id": "00000000-0000-1000-8000-111111111222"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 447
< connection: close
<
< {
"data": {
"id": "ab87dfaa-d2d8-449d-86ad-2e860ad13f58",
"type": "account_membership",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:31.884Z",
"updated_at": "2021-04-15T19:09:31.884Z"
}
},
"relationships": {
"account_member": {
"data": {
"id": "00000000-0000-1000-8000-111111111222",
"type": "account_member"
}
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/db718779-ec6e-4bd1-802e-cd940488e477/account-memberships/ab87dfaa-d2d8-449d-86ad-2e860ad13f58"
}
}
| account_id | store_id | account_membership_id |
|---|---|---|
|
|
00000000-0000-1000-8000-000000000001 | 00000000-0000-1000-8000-111111111222 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/5adcfced-ab0a-4a22-9c90-9f2cb56c8358/account-memberships/00000000-0000-1000-8000-111111111222
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:31 GMT
< content-length: 129
< connection: close
<
< {
"errors": [
{
"detail": "Repository.GetAccountMembership failed: account membership not found",
"status": "404",
"title": "Not Found"
}
]
}
| status | title | detail |
|---|---|---|
| 404 | Not Found | Repository.GetAccountMembership failed: account membership not found |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-222222222221 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "42263ede-f089-46dd-9a36-38e5bd6b592f",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222221",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/42263ede-f089-46dd-9a36-38e5bd6b592f"
}
}
| name | legal_name | registration_id | type | store_id | parent_id |
|---|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-222222222222 | account | 00000000-0000-1000-8000-000000000000 | last |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222222",
"parent_id": "42263ede-f089-46dd-9a36-38e5bd6b592f"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 580
< connection: close
<
< {
"data": {
"id": "3746face-b544-4d52-8bd0-d413cf48a1ec",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222222",
"relationships": {
"parent": {
"data": {
"id": "42263ede-f089-46dd-9a36-38e5bd6b592f",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "42263ede-f089-46dd-9a36-38e5bd6b592f",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3746face-b544-4d52-8bd0-d413cf48a1ec"
}
}
| name | legal_name | registration_id | parent_id | type | id |
|---|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-222222222222 | previous | account | any |
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/3746face-b544-4d52-8bd0-d413cf48a1ec
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 580
< connection: close
<
< {
"data": {
"id": "3746face-b544-4d52-8bd0-d413cf48a1ec",
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222222",
"relationships": {
"parent": {
"data": {
"id": "42263ede-f089-46dd-9a36-38e5bd6b592f",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "42263ede-f089-46dd-9a36-38e5bd6b592f",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3746face-b544-4d52-8bd0-d413cf48a1ec"
}
}
| name | legal_name | registration_id | parent_id | type | id |
|---|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-222222222222 | previous | account | any |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-222222222222 | wrong | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "wrong",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222222"
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 164
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateAccount.Type' Error:Field validation for 'Type' failed on the 'account-type' tag",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | title | detail |
|---|---|---|
| 422 | Unprocessable Entity | Key: 'CreateAccount.Type' Error:Field validation for 'Type' failed on the 'account-type' tag |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-222222222222 | account |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store:
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222222"
}
}
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 185
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag |
| name | legal_name | registration_id | type |
|---|---|---|---|
| accountCreateTestName | accountCreateTestLegalName | 00000000-0000-1000-8000-222222222222 | account |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountCreateTestName",
"legal_name": "accountCreateTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222222"
}
}
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 185
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'ValidateAuthStoreHeader.XMoltinAuthStore' Error:Field validation for 'XMoltinAuthStore' failed on the 'required' tag |
| name | legal_name | registration_id | store_id |
|---|---|---|---|
| wrongMethodTestName | wrongMethodTestLegalName | 88888888-4444-4333-8333-111111111113 | 88888888-4444-4333-8333-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> PUT http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 88888888-4444-4333-8333-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "wrongMethodTestName",
"legal_name": "wrongMethodTestLegalName",
"registration_id": "88888888-4444-4333-8333-111111111113"
}
}
< HTTP ?.? 405 Method Not Allowed
< content-type: text/plain
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 22
< connection: close
<
< "405 method not allowed"
| name | legal_name | registration_id | store_id |
|---|---|---|---|
| wrongMethodTestName | wrongMethodTestLegalName | 88888888-4444-4333-8333-111111111113 | 88888888-4444-4333-8333-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > DELETE http://localhost:8087/v2/accounts > Accept: application/json, text/plain, */* > Content-Type: application/json > User-Agent: axios/0.19.2 > < HTTP ?.? 405 Method Not Allowed < content-type: text/plain < date: Thu, 15 Apr 2021 19:09:32 GMT < content-length: 22 < connection: close < < "405 method not allowed"
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountDeleteTestName | accountDeleteTestLegalName | 00000000-0000-1000-8000-222222222222 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountDeleteTestName",
"legal_name": "accountDeleteTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222222"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "3c37aacd-4d7a-4c23-b804-af4b8decc6b6",
"type": "account",
"name": "accountDeleteTestName",
"legal_name": "accountDeleteTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222222",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3c37aacd-4d7a-4c23-b804-af4b8decc6b6"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| deleteSecondStoreAccTestName | deleteSecondStoreAccLegalName | 00000000-0000-1000-8000-222222333333 | account | 00000000-0000-1000-8000-000000111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "deleteSecondStoreAccTestName",
"legal_name": "deleteSecondStoreAccLegalName",
"registration_id": "00000000-0000-1000-8000-222222333333"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 405
< connection: close
<
< {
"data": {
"id": "9f46f3e5-15b7-42e7-b84e-89b60ff5736d",
"type": "account",
"name": "deleteSecondStoreAccTestName",
"legal_name": "deleteSecondStoreAccLegalName",
"registration_id": "00000000-0000-1000-8000-222222333333",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/9f46f3e5-15b7-42e7-b84e-89b60ff5736d"
}
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000111111 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing **** > DELETE http://localhost:8087/v2/accounts/9f46f3e5-15b7-42e7-b84e-89b60ff5736d > Accept: application/json, text/plain, */* > Content-Type: application/json > X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000111111 > User-Agent: axios/0.19.2 > < HTTP ?.? 204 No Content < content-type: application/json; charset=utf-8 < date: Thu, 15 Apr 2021 19:09:32 GMT < connection: close < < ""
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000111111 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/9f46f3e5-15b7-42e7-b84e-89b60ff5736d
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000111111
> User-Agent: axios/0.19.2
>
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 78
< connection: close
<
< {
"errors": [
{
"detail": "account not found",
"status": "404",
"title": "Not Found"
}
]
}
| detail | title | status |
|---|---|---|
| account not found | Not Found | 404 |
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/3c37aacd-4d7a-4c23-b804-af4b8decc6b6
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "3c37aacd-4d7a-4c23-b804-af4b8decc6b6",
"type": "account",
"name": "accountDeleteTestName",
"legal_name": "accountDeleteTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222222",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3c37aacd-4d7a-4c23-b804-af4b8decc6b6"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountDeleteTestName | accountDeleteTestLegalName | 00000000-0000-1000-8000-222222222222 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountDeleteTestName",
"legal_name": "accountDeleteTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222222"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "426703f4-b5eb-414f-8779-465a8ea82298",
"type": "account",
"name": "accountDeleteTestName",
"legal_name": "accountDeleteTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222222",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/426703f4-b5eb-414f-8779-465a8ea82298"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| deleteSecondStoreAccTestName | deleteSecondStoreAccLegalName | 00000000-0000-1000-8000-222222333333 | account | 00000000-0000-1000-8000-000000111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "deleteSecondStoreAccTestName",
"legal_name": "deleteSecondStoreAccLegalName",
"registration_id": "00000000-0000-1000-8000-222222333333"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 405
< connection: close
<
< {
"data": {
"id": "c1435fb9-7a8a-49c4-a7c9-43a17bde9803",
"type": "account",
"name": "deleteSecondStoreAccTestName",
"legal_name": "deleteSecondStoreAccLegalName",
"registration_id": "00000000-0000-1000-8000-222222333333",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/c1435fb9-7a8a-49c4-a7c9-43a17bde9803"
}
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> DELETE http://localhost:8087/v2/accounts/c1435fb9-7a8a-49c4-a7c9-43a17bde9803
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 78
< connection: close
<
< {
"errors": [
{
"detail": "account not found",
"status": "404",
"title": "Not Found"
}
]
}
| detail | title | status |
|---|---|---|
| account not found | Not Found | 404 |
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/426703f4-b5eb-414f-8779-465a8ea82298
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "426703f4-b5eb-414f-8779-465a8ea82298",
"type": "account",
"name": "accountDeleteTestName",
"legal_name": "accountDeleteTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222222",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/426703f4-b5eb-414f-8779-465a8ea82298"
}
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000111111 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/c1435fb9-7a8a-49c4-a7c9-43a17bde9803
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000111111
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 405
< connection: close
<
< {
"data": {
"id": "c1435fb9-7a8a-49c4-a7c9-43a17bde9803",
"type": "account",
"name": "deleteSecondStoreAccTestName",
"legal_name": "deleteSecondStoreAccLegalName",
"registration_id": "00000000-0000-1000-8000-222222333333",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/c1435fb9-7a8a-49c4-a7c9-43a17bde9803"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | store_id |
|---|---|---|---|
| accPagDeletedAccName | accPagDeletedAccLegalName | 00000000-0000-1000-8000-333333333333 | 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accPagDeletedAccName",
"legal_name": "accPagDeletedAccLegalName",
"registration_id": "00000000-0000-1000-8000-333333333333"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 393
< connection: close
<
< {
"data": {
"id": "11a77de0-8379-43fd-8ede-ed79dd6ffbd4",
"type": "account",
"name": "accPagDeletedAccName",
"legal_name": "accPagDeletedAccLegalName",
"registration_id": "00000000-0000-1000-8000-333333333333",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/11a77de0-8379-43fd-8ede-ed79dd6ffbd4"
}
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-111111111111 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing **** > DELETE http://localhost:8087/v2/accounts/11a77de0-8379-43fd-8ede-ed79dd6ffbd4 > Accept: application/json, text/plain, */* > Content-Type: application/json > X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111 > User-Agent: axios/0.19.2 > < HTTP ?.? 204 No Content < content-type: application/json; charset=utf-8 < date: Thu, 15 Apr 2021 19:09:32 GMT < connection: close < < ""
| store_id | name-prefix | legal_name-prefix |
|---|---|---|
| 00000000-0000-1000-8000-111111111111 | account-multiple | legal_name-multiple |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account-multiple1",
"legal_name": "legal_name-multiple1",
"registration_id": "29e20019-d015-499f-b2cf-1b69d1d85cd6"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 385
< connection: close
<
< {
"data": {
"id": "32993ec9-6970-474a-96ce-77fd5f85f16d",
"type": "account",
"name": "account-multiple1",
"legal_name": "legal_name-multiple1",
"registration_id": "29e20019-d015-499f-b2cf-1b69d1d85cd6",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/32993ec9-6970-474a-96ce-77fd5f85f16d"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account-multiple2",
"legal_name": "legal_name-multiple2",
"registration_id": "c601e9e9-d04f-42ac-a034-a9840b967361"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 385
< connection: close
<
< {
"data": {
"id": "9c0d1a24-9e6a-4bda-b12d-2f6b9dbb6efc",
"type": "account",
"name": "account-multiple2",
"legal_name": "legal_name-multiple2",
"registration_id": "c601e9e9-d04f-42ac-a034-a9840b967361",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/9c0d1a24-9e6a-4bda-b12d-2f6b9dbb6efc"
}
}
| store_id | name-prefix | legal_name-prefix |
|---|---|---|
| 00000000-0000-2000-8000-222222222222 | account-single | legal_name-single |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-2000-8000-222222222222
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account-single1",
"legal_name": "legal_name-single1",
"registration_id": "ed3705f1-6a30-4c64-9b8b-0842b4ceb771"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 381
< connection: close
<
< {
"data": {
"id": "1331a0ae-dc2b-49d1-ac02-374a8986c766",
"type": "account",
"name": "account-single1",
"legal_name": "legal_name-single1",
"registration_id": "ed3705f1-6a30-4c64-9b8b-0842b4ceb771",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/1331a0ae-dc2b-49d1-ac02-374a8986c766"
}
}
| store_id | page-limit | page-offset |
|---|---|---|
| 00000000-0000-1000-8000-111111111111 | 3 | 0 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts?page[limit]=3&page[offset]=0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 1120
< connection: close
<
< {
"meta": {
"page": {
"limit": 3,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 2
}
},
"data": [
{
"id": "32993ec9-6970-474a-96ce-77fd5f85f16d",
"type": "account",
"name": "account-multiple1",
"legal_name": "legal_name-multiple1",
"registration_id": "29e20019-d015-499f-b2cf-1b69d1d85cd6",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/32993ec9-6970-474a-96ce-77fd5f85f16d"
}
},
{
"id": "9c0d1a24-9e6a-4bda-b12d-2f6b9dbb6efc",
"type": "account",
"name": "account-multiple2",
"legal_name": "legal_name-multiple2",
"registration_id": "c601e9e9-d04f-42ac-a034-a9840b967361",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/9c0d1a24-9e6a-4bda-b12d-2f6b9dbb6efc"
}
}
],
"links": {
"current": "http://localhost:8087/v2/accounts?page[offset]=0&page[limit]=3",
"first": "http://localhost:8087/v2/accounts?page[offset]=0&page[limit]=3",
"last": "http://localhost:8087/v2/accounts?page[offset]=0&page[limit]=3",
"next": "null",
"prev": "null"
}
}
| current | first | last | next | prev |
|---|---|---|---|---|
| X | X | X |
| limit | 3 |
|---|---|
| offset | 0 |
| current | 1 |
| total | 1 |
| store_id | page-limit | page-offset |
|---|---|---|
| 00000000-0000-2000-8000-222222222222 | 2 | 0 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts?page[limit]=2&page[offset]=0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-2000-8000-222222222222
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 739
< connection: close
<
< {
"meta": {
"page": {
"limit": 2,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 1
}
},
"data": [
{
"id": "1331a0ae-dc2b-49d1-ac02-374a8986c766",
"type": "account",
"name": "account-single1",
"legal_name": "legal_name-single1",
"registration_id": "ed3705f1-6a30-4c64-9b8b-0842b4ceb771",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/1331a0ae-dc2b-49d1-ac02-374a8986c766"
}
}
],
"links": {
"current": "http://localhost:8087/v2/accounts?page[offset]=0&page[limit]=2",
"first": "http://localhost:8087/v2/accounts?page[offset]=0&page[limit]=2",
"last": "http://localhost:8087/v2/accounts?page[limit]=2&page[offset]=0",
"next": "null",
"prev": "null"
}
}
| current | first | last | next | prev |
|---|---|---|---|---|
| X | X | X |
| limit | 2 |
|---|---|
| offset | 0 |
| current | 1 |
| total | 1 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/00000000-0000-1000-8000-111111111111
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 78
< connection: close
<
< {
"errors": [
{
"detail": "account not found",
"status": "404",
"title": "Not Found"
}
]
}
| detail | title | status |
|---|---|---|
| account not found | Not Found | 404 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accReadAnotherStoreTestName1 | accReadAnotherStoreTestLegalName1 | 00000000-0000-1000-8000-222222222221 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accReadAnotherStoreTestName1",
"legal_name": "accReadAnotherStoreTestLegalName1",
"registration_id": "00000000-0000-1000-8000-222222222221"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 409
< connection: close
<
< {
"data": {
"id": "bbf15548-2f79-4681-b9e6-179b3fb4442d",
"type": "account",
"name": "accReadAnotherStoreTestName1",
"legal_name": "accReadAnotherStoreTestLegalName1",
"registration_id": "00000000-0000-1000-8000-222222222221",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/bbf15548-2f79-4681-b9e6-179b3fb4442d"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accReadAnotherStoreTestName2 | accReadAnotherStoreTestLegalName2 | 00000000-0000-1000-8000-333333333333 | account | 00000000-0000-1000-8000-111111111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accReadAnotherStoreTestName2",
"legal_name": "accReadAnotherStoreTestLegalName2",
"registration_id": "00000000-0000-1000-8000-333333333333"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 409
< connection: close
<
< {
"data": {
"id": "b23c6bed-5884-4777-acf9-4e97eab05b22",
"type": "account",
"name": "accReadAnotherStoreTestName2",
"legal_name": "accReadAnotherStoreTestLegalName2",
"registration_id": "00000000-0000-1000-8000-333333333333",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/b23c6bed-5884-4777-acf9-4e97eab05b22"
}
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/b23c6bed-5884-4777-acf9-4e97eab05b22
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 78
< connection: close
<
< {
"errors": [
{
"detail": "account not found",
"status": "404",
"title": "Not Found"
}
]
}
| status | title | detail |
|---|---|---|
| 404 | Not Found | account not found |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts/88888888-4444-4333-8333-111111111111
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 88888888-4444-4333-8333-111111111111
> User-Agent: axios/0.19.2
>
> {}
< HTTP ?.? 405 Method Not Allowed
< content-type: text/plain
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 22
< connection: close
<
< "405 method not allowed"
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountUpdateTestName | accountUpdateTestLegalName | d203286a-2a18-43f8-ab66-3ab6255f54f8 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "0ed44ff2-4a65-4f8c-b161-5dfed1daf229",
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/0ed44ff2-4a65-4f8c-b161-5dfed1daf229"
}
}
| name | legal_name | registration_id | type | store_id | id |
|---|---|---|---|---|---|
| accountUpdateTestNameUpdated | accountUpdateTestLegalNameUpdated | 00000000-0000-1000-8000-444444444444 | account | 00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> PUT http://localhost:8087/v2/accounts/0ed44ff2-4a65-4f8c-b161-5dfed1daf229
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountUpdateTestNameUpdated",
"legal_name": "accountUpdateTestLegalNameUpdated",
"registration_id": "00000000-0000-1000-8000-444444444444"
}
}
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 409
< connection: close
<
< {
"data": {
"id": "0ed44ff2-4a65-4f8c-b161-5dfed1daf229",
"type": "account",
"name": "accountUpdateTestNameUpdated",
"legal_name": "accountUpdateTestLegalNameUpdated",
"registration_id": "00000000-0000-1000-8000-444444444444",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/0ed44ff2-4a65-4f8c-b161-5dfed1daf229"
}
}
| name | legal_name | registration_id | type | id |
|---|---|---|---|---|
| accountUpdateTestNameUpdated | accountUpdateTestLegalNameUpdated | 00000000-0000-1000-8000-444444444444 | account |
|
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/0ed44ff2-4a65-4f8c-b161-5dfed1daf229
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 409
< connection: close
<
< {
"data": {
"id": "0ed44ff2-4a65-4f8c-b161-5dfed1daf229",
"type": "account",
"name": "accountUpdateTestNameUpdated",
"legal_name": "accountUpdateTestLegalNameUpdated",
"registration_id": "00000000-0000-1000-8000-444444444444",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/0ed44ff2-4a65-4f8c-b161-5dfed1daf229"
}
}
| name | legal_name | registration_id | type | id |
|---|---|---|---|---|
| accountUpdateTestNameUpdated | accountUpdateTestLegalNameUpdated | 00000000-0000-1000-8000-444444444444 | account |
|
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountUpdateTestName | accountUpdateTestLegalName | d203286a-2a18-43f8-ab66-3ab6255f54f8 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "7def1ca1-e491-4bbc-8c89-ee0811e05cca",
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/7def1ca1-e491-4bbc-8c89-ee0811e05cca"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| updateSecondStoreAccName | updateSecondStoreAccLegalName | 00000000-0000-1000-8000-222222333333 | account | 00000000-0000-1000-8000-000000111111 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "updateSecondStoreAccName",
"legal_name": "updateSecondStoreAccLegalName",
"registration_id": "00000000-0000-1000-8000-222222333333"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 401
< connection: close
<
< {
"data": {
"id": "04c1d7ba-b5cd-4097-ae09-31ef7aea821f",
"type": "account",
"name": "updateSecondStoreAccName",
"legal_name": "updateSecondStoreAccLegalName",
"registration_id": "00000000-0000-1000-8000-222222333333",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/04c1d7ba-b5cd-4097-ae09-31ef7aea821f"
}
}
| name | legal_name | type | store_id | id |
|---|---|---|---|---|
| updateSecondStoreAccNameUPDATED | updateSecondStoreAccLegalNameUPDATED | account | 00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> PUT http://localhost:8087/v2/accounts/04c1d7ba-b5cd-4097-ae09-31ef7aea821f
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "updateSecondStoreAccNameUPDATED",
"legal_name": "updateSecondStoreAccLegalNameUPDATED"
}
}
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 78
< connection: close
<
< {
"errors": [
{
"detail": "account not found",
"status": "404",
"title": "Not Found"
}
]
}
| status | title | detail |
|---|---|---|
| 404 | Not Found | account not found |
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000111111 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/04c1d7ba-b5cd-4097-ae09-31ef7aea821f
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000111111
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 401
< connection: close
<
< {
"data": {
"id": "04c1d7ba-b5cd-4097-ae09-31ef7aea821f",
"type": "account",
"name": "updateSecondStoreAccName",
"legal_name": "updateSecondStoreAccLegalName",
"registration_id": "00000000-0000-1000-8000-222222333333",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/04c1d7ba-b5cd-4097-ae09-31ef7aea821f"
}
}
| name | legal_name | registration_id | type | id |
|---|---|---|---|---|
| updateSecondStoreAccName | updateSecondStoreAccLegalName | 00000000-0000-1000-8000-222222333333 | account |
|
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountUpdateTestName | accountUpdateTestLegalName | d203286a-2a18-43f8-ab66-3ab6255f54f8 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "52f62f64-8d2a-4bcb-8fdd-7cc3452b936d",
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/52f62f64-8d2a-4bcb-8fdd-7cc3452b936d"
}
}
| store_id | id | property | value |
|---|---|---|---|
| 00000000-0000-1000-8000-000000000000 |
|
name | partialUpdNameUpdated |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> PUT http://localhost:8087/v2/accounts/52f62f64-8d2a-4bcb-8fdd-7cc3452b936d
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "partialUpdNameUpdated"
}
}
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "52f62f64-8d2a-4bcb-8fdd-7cc3452b936d",
"type": "account",
"name": "partialUpdNameUpdated",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/52f62f64-8d2a-4bcb-8fdd-7cc3452b936d"
}
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/52f62f64-8d2a-4bcb-8fdd-7cc3452b936d
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "52f62f64-8d2a-4bcb-8fdd-7cc3452b936d",
"type": "account",
"name": "partialUpdNameUpdated",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/52f62f64-8d2a-4bcb-8fdd-7cc3452b936d"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountUpdateTestName | accountUpdateTestLegalName | d203286a-2a18-43f8-ab66-3ab6255f54f8 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "3571b7c0-ec14-4c70-b040-a228494b523b",
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3571b7c0-ec14-4c70-b040-a228494b523b"
}
}
| store_id | id | property | value |
|---|---|---|---|
| 00000000-0000-1000-8000-000000000000 |
|
legal_name | partialUpdLegalNameUpdated |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> PUT http://localhost:8087/v2/accounts/3571b7c0-ec14-4c70-b040-a228494b523b
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"legal_name": "partialUpdLegalNameUpdated"
}
}
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "3571b7c0-ec14-4c70-b040-a228494b523b",
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "partialUpdLegalNameUpdated",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3571b7c0-ec14-4c70-b040-a228494b523b"
}
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/3571b7c0-ec14-4c70-b040-a228494b523b
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "3571b7c0-ec14-4c70-b040-a228494b523b",
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "partialUpdLegalNameUpdated",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3571b7c0-ec14-4c70-b040-a228494b523b"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountUpdateTestName | accountUpdateTestLegalName | d203286a-2a18-43f8-ab66-3ab6255f54f8 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "5f83c64d-f484-49a8-87a1-b2b95e0c90b9",
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/5f83c64d-f484-49a8-87a1-b2b95e0c90b9"
}
}
| store_id | id | property | value |
|---|---|---|---|
| 00000000-0000-1000-8000-000000000000 |
|
registration_id | 00000000-0000-1000-8000-222222222229 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> PUT http://localhost:8087/v2/accounts/5f83c64d-f484-49a8-87a1-b2b95e0c90b9
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"registration_id": "00000000-0000-1000-8000-222222222229"
}
}
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "5f83c64d-f484-49a8-87a1-b2b95e0c90b9",
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222229",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/5f83c64d-f484-49a8-87a1-b2b95e0c90b9"
}
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/5f83c64d-f484-49a8-87a1-b2b95e0c90b9
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "5f83c64d-f484-49a8-87a1-b2b95e0c90b9",
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "00000000-0000-1000-8000-222222222229",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/5f83c64d-f484-49a8-87a1-b2b95e0c90b9"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountUpdateTestName | accountUpdateTestLegalName | d203286a-2a18-43f8-ab66-3ab6255f54f8 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "28c5b1ec-161f-4f92-9af5-913288d9e187",
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/28c5b1ec-161f-4f92-9af5-913288d9e187"
}
}
| name | legal_name | type | store_id | id |
|---|---|---|---|---|
| account | 00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> PUT http://localhost:8087/v2/accounts/28c5b1ec-161f-4f92-9af5-913288d9e187
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "",
"legal_name": ""
}
}
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:32 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "28c5b1ec-161f-4f92-9af5-913288d9e187",
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:32.884Z",
"updated_at": "2021-04-15T19:09:32.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/28c5b1ec-161f-4f92-9af5-913288d9e187"
}
}
| name | legal_name | registration_id | type | id |
|---|---|---|---|---|
| accountUpdateTestName | accountUpdateTestLegalName | d203286a-2a18-43f8-ab66-3ab6255f54f8 | account | any |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountUpdateTestName | accountUpdateTestLegalName | d203286a-2a18-43f8-ab66-3ab6255f54f8 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "bd5f114d-c35b-4a1c-bd00-d384b7fa812b",
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/bd5f114d-c35b-4a1c-bd00-d384b7fa812b"
}
}
| type | store_id | id |
|---|---|---|
| account | 00000000-0000-1000-8000-000000000000 | 8034a592-4ac2-4a38-9f18-bdd90e84971d |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> PUT http://localhost:8087/v2/accounts/bd5f114d-c35b-4a1c-bd00-d384b7fa812b
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"id": "8034a592-4ac2-4a38-9f18-bdd90e84971d"
}
}
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "bd5f114d-c35b-4a1c-bd00-d384b7fa812b",
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/bd5f114d-c35b-4a1c-bd00-d384b7fa812b"
}
}
| name | legal_name | registration_id | type | id |
|---|---|---|---|---|
| accountUpdateTestName | accountUpdateTestLegalName | d203286a-2a18-43f8-ab66-3ab6255f54f8 | account |
|
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| accountUpdateTestName | accountUpdateTestLegalName | d203286a-2a18-43f8-ab66-3ab6255f54f8 | account | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "bd078db8-6521-468e-92ba-6a6677746de6",
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/bd078db8-6521-468e-92ba-6a6677746de6"
}
}
| name | legal_name | registration_id | type | store_id | id |
|---|---|---|---|---|---|
| accountUpdateTestNameUpdated | accountUpdateTestLegalNameUpdated | 00000000-0000-1000-8000-444444444444 | wrong_type | 00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> PUT http://localhost:8087/v2/accounts/bd078db8-6521-468e-92ba-6a6677746de6
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "wrong_type",
"name": "accountUpdateTestNameUpdated",
"legal_name": "accountUpdateTestLegalNameUpdated",
"registration_id": "00000000-0000-1000-8000-444444444444"
}
}
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 155
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'UpdateAccount.Type' Error:Field validation for 'Type' failed on the 'account-type' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'UpdateAccount.Type' Error:Field validation for 'Type' failed on the 'account-type' tag |
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/bd078db8-6521-468e-92ba-6a6677746de6
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 395
< connection: close
<
< {
"data": {
"id": "bd078db8-6521-468e-92ba-6a6677746de6",
"type": "account",
"name": "accountUpdateTestName",
"legal_name": "accountUpdateTestLegalName",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/bd078db8-6521-468e-92ba-6a6677746de6"
}
}
| name | legal_name | registration_id | type | id |
|---|---|---|---|---|
| accountUpdateTestName | accountUpdateTestLegalName | d203286a-2a18-43f8-ab66-3ab6255f54f8 | account | any |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| stringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstr | legal_name1 | 3e0db537-5b2c-4ee9-84cb-48b452df9da3 | account | 00000000-0000-1000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "stringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstr",
"legal_name": "legal_name1",
"registration_id": "3e0db537-5b2c-4ee9-84cb-48b452df9da3"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 614
< connection: close
<
< {
"data": {
"id": "0d82040b-d3ee-44f5-90d6-63b533cbd5f6",
"type": "account",
"name": "stringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstr",
"legal_name": "legal_name1",
"registration_id": "3e0db537-5b2c-4ee9-84cb-48b452df9da3",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/0d82040b-d3ee-44f5-90d6-63b533cbd5f6"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| stringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstr1 | legal_name1 | bca74699-dd1e-4cdb-a322-52155ce9b7dd | account | 00000000-0000-1000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000001
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "stringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstr1",
"legal_name": "legal_name1",
"registration_id": "bca74699-dd1e-4cdb-a322-52155ce9b7dd"
}
}
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 157
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateAccountParams.Data.Name' Error:Field validation for 'Name' failed on the 'max' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'CreateAccountParams.Data.Name' Error:Field validation for 'Name' failed on the 'max' tag |
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| name2 | stringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstr | eebd9870-7508-436b-a1ab-563bd1d2b570 | account | 00000000-0000-1000-8000-000000000002 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000002
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "name2",
"legal_name": "stringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstr",
"registration_id": "eebd9870-7508-436b-a1ab-563bd1d2b570"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 608
< connection: close
<
< {
"data": {
"id": "3820e13c-14a1-437d-948d-0cf1f01541ec",
"type": "account",
"name": "name2",
"legal_name": "stringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstr",
"registration_id": "eebd9870-7508-436b-a1ab-563bd1d2b570",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3820e13c-14a1-437d-948d-0cf1f01541ec"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| name2 | stringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstr1 | e18c94c0-fe2f-4d50-baf4-f134d05bf598 | account | 00000000-0000-1000-8000-000000000002 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000002
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "name2",
"legal_name": "stringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstr1",
"registration_id": "e18c94c0-fe2f-4d50-baf4-f134d05bf598"
}
}
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 167
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateAccountParams.Data.LegalName' Error:Field validation for 'LegalName' failed on the 'max' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'CreateAccountParams.Data.LegalName' Error:Field validation for 'LegalName' failed on the 'max' tag |
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| name3 | legal_name3 | stringstringstringstringstringstrinstringstringstringstringstri1 | account | 00000000-0000-1000-8000-000000000003 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000003
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "name3",
"legal_name": "legal_name3",
"registration_id": "stringstringstringstringstringstrinstringstringstringstringstri1"
}
}
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 177
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateAccountParams.Data.RegistrationID' Error:Field validation for 'RegistrationID' failed on the 'max' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'CreateAccountParams.Data.RegistrationID' Error:Field validation for 'RegistrationID' failed on the 'max' tag |
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| name3 | legal_name3 | stringstringstringstringstringstrinstringstringstringstringstri | account | 00000000-0000-1000-8000-000000000003 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000003
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "name3",
"legal_name": "legal_name3",
"registration_id": "stringstringstringstringstringstrinstringstringstringstringstri"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 391
< connection: close
<
< {
"data": {
"id": "13c45268-9a2c-495c-bcfd-197f7ffc94ab",
"type": "account",
"name": "name3",
"legal_name": "legal_name3",
"registration_id": "stringstringstringstringstringstrinstringstringstringstringstri",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/13c45268-9a2c-495c-bcfd-197f7ffc94ab"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| name1 | legal_name1 | d203286a-2a18-43f8-ab66-3ab6255f54f8 | account | 00000000-0000-1000-8000-000000000005 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000005
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "name1",
"legal_name": "legal_name1",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 364
< connection: close
<
< {
"data": {
"id": "509ef56d-2152-4891-832e-fdf77ba1aae9",
"type": "account",
"name": "name1",
"legal_name": "legal_name1",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/509ef56d-2152-4891-832e-fdf77ba1aae9"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| name2 | legal_name2 | d203286a-2a18-43f8-ab66-3ab6255f54f8 | account | 00000000-0000-1000-8000-000000000005 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000005
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "name2",
"legal_name": "legal_name2",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8"
}
}
< HTTP ?.? 409 Conflict
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 126
< connection: close
<
< {
"errors": [
{
"detail": "account with the given store id and registration id already exists",
"status": "409",
"title": "Conflict"
}
]
}
| status | title | detail |
|---|---|---|
| 409 | Conflict | account with the given store id and registration id already exists |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| name1 | legal_name1 | d203286a-2a18-43f8-ab66-3ab6255f54f8 | account | 00000000-0000-1000-8000-000000000005 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000005
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "name1",
"legal_name": "legal_name1",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 364
< connection: close
<
< {
"data": {
"id": "fe8b6ad4-1c99-462f-ac99-1206a0a11a75",
"type": "account",
"name": "name1",
"legal_name": "legal_name1",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/fe8b6ad4-1c99-462f-ac99-1206a0a11a75"
}
}
| name | legal_name | registration_id | type | store_id |
|---|---|---|---|---|
| name1 | legal_name1 | d203286a-2a18-43f8-ab66-3ab6255f54f9 | account | 00000000-0000-1000-8000-000000000005 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000005
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "name1",
"legal_name": "legal_name1",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f9"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 364
< connection: close
<
< {
"data": {
"id": "00c0c4d8-c90f-468e-8c46-5a93e334c34d",
"type": "account",
"name": "name1",
"legal_name": "legal_name1",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f9",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/00c0c4d8-c90f-468e-8c46-5a93e334c34d"
}
}
| registration_id | type | store_id | id |
|---|---|---|---|
| d203286a-2a18-43f8-ab66-3ab6255f54f8 | account | 00000000-0000-1000-8000-000000000005 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> PUT http://localhost:8087/v2/accounts/00c0c4d8-c90f-468e-8c46-5a93e334c34d
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000005
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"registration_id": "d203286a-2a18-43f8-ab66-3ab6255f54f8"
}
}
< HTTP ?.? 409 Conflict
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 126
< connection: close
<
< {
"errors": [
{
"detail": "account with the given store id and registration id already exists",
"status": "409",
"title": "Conflict"
}
]
}
| status | title | detail |
|---|---|---|
| 409 | Conflict | account with the given store id and registration id already exists |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | type | store_id |
|---|---|---|---|
| name1 | legal_name1 | account | 00000000-0000-1000-8000-000000000005 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000005
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "name1",
"legal_name": "legal_name1"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 330
< connection: close
<
< {
"data": {
"id": "63c9edf2-c1a7-40b4-91c4-a9b76572dda4",
"type": "account",
"name": "name1",
"legal_name": "legal_name1",
"registration_id": null,
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/63c9edf2-c1a7-40b4-91c4-a9b76572dda4"
}
}
| name | legal_name | type | store_id |
|---|---|---|---|
| name2 | legal_name2 | account | 00000000-0000-1000-8000-000000000005 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000005
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "name2",
"legal_name": "legal_name2"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 330
< connection: close
<
< {
"data": {
"id": "9cd101bc-614e-4bb6-a093-0a21dc07cbd9",
"type": "account",
"name": "name2",
"legal_name": "legal_name2",
"registration_id": null,
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/9cd101bc-614e-4bb6-a093-0a21dc07cbd9"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| event_time | specversion | id | source | type | exchange | routingKey | userAuthInfoId | name | storeId | realmId | createdAt | updatedAt | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2019-11-11T08:08:18.888Z | 1.0 | 00000000-0000-1000-8000-111111111111 | http://localhost:8080 | user-authentication-info.event.created | user-authentication-info.topic | user-authentication-info.event.created | 00000000-0000-1000-8000-111111111122 | createdEvent | createdEvent@test.com | 00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-222222222222 | 2018-07-06T08:23:18.683Z | 2018-07-06T08:23:18.683Z |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111122
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 229
< connection: close
<
< {
"data": {
"id": "00000000-0000-1000-8000-111111111122",
"type": "account_member",
"name": "createdEvent",
"email": "createdEvent@test.com"
},
"links": {
"self": "http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111122"
}
}
| id | name | |
|---|---|---|
| 00000000-0000-1000-8000-111111111122 | createdEvent | createdEvent@test.com |
| event_time | specversion | id | source | type | exchange | routingKey | userAuthInfoId | name | storeId | realmId | createdAt | updatedAt | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2020-04-05T01:01:01.555Z | 1.0 | 00000000-0000-1000-8000-111111111111 | http://localhost:8080 | user-authentication-info.event.created | user-authentication-info.topic | user-authentication-info.event.created | 00000000-0000-1000-8000-111111111122 | createdEvent_updated | createdEvent_updated@test.com | 00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-222222222222 | 2018-07-06T08:23:18.683Z | 2018-07-06T08:23:18.683Z |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111122
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 245
< connection: close
<
< {
"data": {
"id": "00000000-0000-1000-8000-111111111122",
"type": "account_member",
"name": "createdEvent_updated",
"email": "createdEvent_updated@test.com"
},
"links": {
"self": "http://localhost:8087/v2/account-members/00000000-0000-1000-8000-111111111122"
}
}
| id | name | |
|---|---|---|
| 00000000-0000-1000-8000-111111111122 | createdEvent_updated | createdEvent_updated@test.com |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| iss | aud | sub | exp | iat | name | |
|---|---|---|---|---|---|---|
| [EAS_ENDPOINT]/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001 | account-management | 20354d7a-e4fe-47af-8ff6-187bca92f3f9 | [IN_ONE_HOUR] | [NOW] | idpAccountTokenTestAccountName | idpaccounttokentest@test.com |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/oidc-idp/token/stores/00000000-0000-4000-8000-000000000000/authentication-realms/00000000-0000-4000-8000-000000000001","method":"POST"},"response":{"status":201,"body":"{\"id_token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjFlOWdkazcifQ.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvb2lkYy1pZHAvc3RvcmVzLzAwMDAwMDAwLTAwMDAtNDAwMC04MDAwLTAwMDAwMDAwMDAwMC9hdXRoZW50aWNhdGlvbi1yZWFsbXMvMDAwMDAwMDAtMDAwMC00MDAwLTgwMDAtMDAwMDAwMDAwMDAxIiwic3ViIjoiMjAzNTRkN2EtZTRmZS00N2FmLThmZjYtMTg3YmNhOTJmM2Y5IiwiYXVkIjoiYWNjb3VudC1tYW5hZ2VtZW50IiwiaWF0IjoxNjE4NTEzNzczLjU4OCwiZXhwIjoxNjE4NTE3MzczLjU4OCwibmFtZSI6ImlkcEFjY291bnRUb2tlblRlc3RBY2NvdW50TmFtZSIsImVtYWlsIjoiaWRwYWNjb3VudHRva2VudGVzdEB0ZXN0LmNvbSJ9.PRpfzgJYnRxH3_-wprdxlJVr15preWiUMdfxYa1PXaYLTLM0GGoEmuUIBV4uTxL-flRvhsGwbcPB-CE76wAC5uBICekGo6VdhDe5uc0tWg9rkHN7V322G-wR5sD-LslR8nLA2KE8A669qk12xfbfxL8zjeNB5Fv5b6eBiRzOAFe20XS9OJEhR1Kn0NClPa0mgDfx8e1IIZW8KhjIO5NVP6l0tQXoTO6JtUjfdvD4KDhAbCUFAs2jk-BouaqHroxgGdZY8MULKo_6n5f3GfcAc36z1bLsFC3BCHPxIo6ktXM5wCclWjsr9Jrkdn8n0ZtnVbT-WQrf0OoNPGxe68ZzDA\"}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId | userId | name | |
|---|---|---|---|
| 00000000-0000-4000-8000-000000000001 | 20354d7a-e4fe-47af-8ff6-187bca92f3f9 | idpAccountTokenTestAccountName | idpaccounttokentest@test.com |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms/00000000-0000-4000-8000-000000000001/user-authentication-info/20354d7a-e4fe-47af-8ff6-187bca92f3f9","method":"GET"},"response":{"status":200,"body":"{\"data\":{\"id\":\"20354d7a-e4fe-47af-8ff6-187bca92f3f9\",\"name\":\"idpAccountTokenTestAccountName\",\"email\":\"idpaccounttokentest@test.com\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"user-authentication-info\"},\"links\":{\"self\":\"http://host.docker.internal:8381//v2/authentication-realms/00000000-0000-4000-8000-000000000001/user-authentication-info/20354d7a-e4fe-47af-8ff6-187bca92f3f9\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| realmId |
|---|
| 00000000-0000-4000-8000-000000000001 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8381/__admin/mappings/new
> Accept: application/json, text/plain, */*
> Content-Type: application/json;charset=utf-8
> User-Agent: axios/0.19.2
>
> {"request":{"url":"/v2/authentication-realms","method":"POST"},"response":{"status":201,"body":"{\"data\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"name\":\"Test Auth Realm\",\"meta\":{\"created_at\":\"2020-07-13T20:20:38.738Z\",\"updated_at\":\"2020-07-13T20:20:38.738Z\"},\"type\":\"authentication_realm\"},\"links\":{\"self\":\"http://host.docker.internal:8381/v2/authentication-realms/00000000-0000-4000-8000-000000000001\"}}","headers":{"Content-Type":"application/json"}}}
< HTTP ?.? 201 Created
< connection: close
< server: Jetty(9.4.20.v20190813)
<
< ""
| authorizationCode | type | storeId | oauth_redirect_uri | authentication_mechanism | oauth_code_verifier |
|---|---|---|---|---|---|
| authorizationCode | account_management_authentication_token | 00000000-0000-4000-8000-000000000000 | http://localhost:4444 | oidc | 0123456789012345678901234567890123456789012 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/account-members/tokens
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"oauth_authorization_code": "authorizationCode",
"oauth_code_verifier": "0123456789012345678901234567890123456789012",
"type": "account_management_authentication_token",
"oauth_redirect_uri": "http://localhost:4444",
"authentication_mechanism": "oidc"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 413
< connection: close
<
< {
"meta": {
"page": {
"limit": 20,
"offset": 0,
"current": 1,
"total": 0
},
"results": {
"total": 0
}
},
"data": [],
"links": {
"current": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=20",
"first": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=20",
"last": "http://localhost:8087/v2/account-members/tokens?page[offset]=0&page[limit]=20",
"next": "null",
"prev": "null"
}
}
| store_id | page-limit | page-offset |
|---|---|---|
| 00000000-0000-4000-8000-000000000000 | 3 | 0 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/?page[limit]=3&page[offset]=0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 633
< connection: close
<
< {
"meta": {
"page": {
"limit": 3,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 1
}
},
"data": [
{
"id": "20354d7a-e4fe-47af-8ff6-187bca92f3f9",
"type": "account_member",
"name": "idpAccountTokenTestAccountName",
"email": "idpaccounttokentest@test.com",
"links": {
"self": "http://localhost:8087/v2/account-members/20354d7a-e4fe-47af-8ff6-187bca92f3f9"
}
}
],
"links": {
"current": "http://localhost:8087/v2/account-members?page[offset]=0&page[limit]=3",
"first": "http://localhost:8087/v2/account-members?page[offset]=0&page[limit]=3",
"last": "http://localhost:8087/v2/account-members?page[offset]=0&page[limit]=3",
"next": "null",
"prev": "null"
}
}
| name | |
|---|---|
| idpAccountTokenTestAccountName | idpaccounttokentest@test.com |
| event_time | specversion | id | source | type | exchange | routingKey | userAuthInfoId | name | storeId | realmId | createdAt | updatedAt | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2021-04-05T08:23:18.683Z | 1.0 | 00000000-0000-1000-8000-111111111111 | http://localhost:8080 | user-authentication-info.event.created | user-authentication-info.topic | user-authentication-info.event.created | 20354d7a-e4fe-47af-8ff6-187bca92f3f9 | idpAccountTokenTestAccountUpdatedName | updatedidpaccounttokentest@test.com | 00000000-0000-4000-8000-000000000000 | 00000000-0000-4000-8000-000000000001 | 2018-07-06T08:23:18.683Z | 2018-07-06T08:23:18.683Z |
| store_id | page-limit | page-offset |
|---|---|---|
| 00000000-0000-4000-8000-000000000000 | 3 | 0 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/account-members/?page[limit]=3&page[offset]=0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-4000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 647
< connection: close
<
< {
"meta": {
"page": {
"limit": 3,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 1
}
},
"data": [
{
"id": "20354d7a-e4fe-47af-8ff6-187bca92f3f9",
"type": "account_member",
"name": "idpAccountTokenTestAccountUpdatedName",
"email": "updatedidpaccounttokentest@test.com",
"links": {
"self": "http://localhost:8087/v2/account-members/20354d7a-e4fe-47af-8ff6-187bca92f3f9"
}
}
],
"links": {
"current": "http://localhost:8087/v2/account-members?page[offset]=0&page[limit]=3",
"first": "http://localhost:8087/v2/account-members?page[offset]=0&page[limit]=3",
"last": "http://localhost:8087/v2/account-members?page[offset]=0&page[limit]=3",
"next": "null",
"prev": "null"
}
}
| name | |
|---|---|
| idpAccountTokenTestAccountUpdatedName | updatedidpaccounttokentest@test.com |
| name | |
|---|---|
| idpAccountTokenTestAccountName | idpaccounttokentest@test.com |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| store_id | name-prefix | legal_name-prefix |
|---|---|---|
| 00000000-0000-1000-8000-111111111111 | account | legal_name |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account1",
"legal_name": "legal_name1",
"registration_id": "2698bcdc-a330-4c44-8bb9-757446af2c2c"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "1e22c345-6fd6-48f6-a727-3b098f8ae6d9",
"type": "account",
"name": "account1",
"legal_name": "legal_name1",
"registration_id": "2698bcdc-a330-4c44-8bb9-757446af2c2c",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/1e22c345-6fd6-48f6-a727-3b098f8ae6d9"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account2",
"legal_name": "legal_name2",
"registration_id": "1a10d47b-5921-4520-af23-85e3e5976c97"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "c387b7a9-d67c-4161-b8fd-a2f6b606eac6",
"type": "account",
"name": "account2",
"legal_name": "legal_name2",
"registration_id": "1a10d47b-5921-4520-af23-85e3e5976c97",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/c387b7a9-d67c-4161-b8fd-a2f6b606eac6"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account3",
"legal_name": "legal_name3",
"registration_id": "ae37f29e-5ba9-4cf5-9ae8-3dc8d8d778e8"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "b8d1ba81-323c-405b-8715-17be20d75c3a",
"type": "account",
"name": "account3",
"legal_name": "legal_name3",
"registration_id": "ae37f29e-5ba9-4cf5-9ae8-3dc8d8d778e8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/b8d1ba81-323c-405b-8715-17be20d75c3a"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account4",
"legal_name": "legal_name4",
"registration_id": "fce4acfa-a35a-44ac-b17e-272f28453f30"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "0bb2e77d-0dc5-4f8b-915e-367c04f609d8",
"type": "account",
"name": "account4",
"legal_name": "legal_name4",
"registration_id": "fce4acfa-a35a-44ac-b17e-272f28453f30",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/0bb2e77d-0dc5-4f8b-915e-367c04f609d8"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account5",
"legal_name": "legal_name5",
"registration_id": "0374b792-ffc2-4be8-8a68-11747d80e721"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "c2fb5e39-1cc9-4c41-b604-414c8db9ecab",
"type": "account",
"name": "account5",
"legal_name": "legal_name5",
"registration_id": "0374b792-ffc2-4be8-8a68-11747d80e721",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/c2fb5e39-1cc9-4c41-b604-414c8db9ecab"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account6",
"legal_name": "legal_name6",
"registration_id": "c8229248-de1b-4769-90ea-a87920ec913f"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "1fddf015-aab1-47e9-a10f-9739fbfee501",
"type": "account",
"name": "account6",
"legal_name": "legal_name6",
"registration_id": "c8229248-de1b-4769-90ea-a87920ec913f",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/1fddf015-aab1-47e9-a10f-9739fbfee501"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account7",
"legal_name": "legal_name7",
"registration_id": "c9daec07-5359-4333-9acd-0d71c3145240"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "5dc4fbc2-b072-492b-ae97-7e2a882c3bdf",
"type": "account",
"name": "account7",
"legal_name": "legal_name7",
"registration_id": "c9daec07-5359-4333-9acd-0d71c3145240",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/5dc4fbc2-b072-492b-ae97-7e2a882c3bdf"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account8",
"legal_name": "legal_name8",
"registration_id": "bc81a449-a143-41c9-ad3a-6503f99f44e4"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "8d79ec91-b0e4-4987-bce7-ebff5573c930",
"type": "account",
"name": "account8",
"legal_name": "legal_name8",
"registration_id": "bc81a449-a143-41c9-ad3a-6503f99f44e4",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/8d79ec91-b0e4-4987-bce7-ebff5573c930"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account9",
"legal_name": "legal_name9",
"registration_id": "c2d54b23-2f40-4f3f-a1e8-2c03f5b4f842"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "3fb8135d-f14c-47f5-ae8f-ae35ac533499",
"type": "account",
"name": "account9",
"legal_name": "legal_name9",
"registration_id": "c2d54b23-2f40-4f3f-a1e8-2c03f5b4f842",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3fb8135d-f14c-47f5-ae8f-ae35ac533499"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account10",
"legal_name": "legal_name10",
"registration_id": "799c01d7-a9b2-4a56-8f9a-8f36d9d239a6"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 369
< connection: close
<
< {
"data": {
"id": "b92404c3-a025-4646-8c53-593c439d702f",
"type": "account",
"name": "account10",
"legal_name": "legal_name10",
"registration_id": "799c01d7-a9b2-4a56-8f9a-8f36d9d239a6",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/b92404c3-a025-4646-8c53-593c439d702f"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account11",
"legal_name": "legal_name11",
"registration_id": "4047f721-f0c5-46ff-9124-792e77db1b7f"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 369
< connection: close
<
< {
"data": {
"id": "f800c256-d30e-4eff-9f55-e63971942918",
"type": "account",
"name": "account11",
"legal_name": "legal_name11",
"registration_id": "4047f721-f0c5-46ff-9124-792e77db1b7f",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f800c256-d30e-4eff-9f55-e63971942918"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account12",
"legal_name": "legal_name12",
"registration_id": "b24612c6-cf08-438f-98b0-af9f96a51c82"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 369
< connection: close
<
< {
"data": {
"id": "543cf213-be47-47a3-b468-6031610b5835",
"type": "account",
"name": "account12",
"legal_name": "legal_name12",
"registration_id": "b24612c6-cf08-438f-98b0-af9f96a51c82",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/543cf213-be47-47a3-b468-6031610b5835"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account13",
"legal_name": "legal_name13",
"registration_id": "f06e7758-a81c-4927-81d5-9596325fda5b"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 369
< connection: close
<
< {
"data": {
"id": "f83af29b-9dbb-4b97-9038-d1064c480930",
"type": "account",
"name": "account13",
"legal_name": "legal_name13",
"registration_id": "f06e7758-a81c-4927-81d5-9596325fda5b",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f83af29b-9dbb-4b97-9038-d1064c480930"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account14",
"legal_name": "legal_name14",
"registration_id": "26f92a48-7066-4169-a46c-575ba584ca01"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 369
< connection: close
<
< {
"data": {
"id": "4ba982b9-d505-461d-a160-367bc0b50209",
"type": "account",
"name": "account14",
"legal_name": "legal_name14",
"registration_id": "26f92a48-7066-4169-a46c-575ba584ca01",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/4ba982b9-d505-461d-a160-367bc0b50209"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account15",
"legal_name": "legal_name15",
"registration_id": "662f2988-8834-4b70-8045-0d4420436825"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 369
< connection: close
<
< {
"data": {
"id": "18a74f7b-9bd6-4fe7-8307-3b7ef215d85f",
"type": "account",
"name": "account15",
"legal_name": "legal_name15",
"registration_id": "662f2988-8834-4b70-8045-0d4420436825",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/18a74f7b-9bd6-4fe7-8307-3b7ef215d85f"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account16",
"legal_name": "legal_name16",
"registration_id": "73a1fee4-d252-432f-a27d-13f9ddd57538"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 369
< connection: close
<
< {
"data": {
"id": "ee0f00c6-7c6d-40d1-b155-a7835940a8fe",
"type": "account",
"name": "account16",
"legal_name": "legal_name16",
"registration_id": "73a1fee4-d252-432f-a27d-13f9ddd57538",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/ee0f00c6-7c6d-40d1-b155-a7835940a8fe"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account17",
"legal_name": "legal_name17",
"registration_id": "f924428c-bd18-49a7-88b3-025c97d7f09f"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 369
< connection: close
<
< {
"data": {
"id": "ddfc8a34-4ee0-4cb6-adde-e9e34d50b0dd",
"type": "account",
"name": "account17",
"legal_name": "legal_name17",
"registration_id": "f924428c-bd18-49a7-88b3-025c97d7f09f",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/ddfc8a34-4ee0-4cb6-adde-e9e34d50b0dd"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account18",
"legal_name": "legal_name18",
"registration_id": "a9cd5d2e-a728-4373-a3d5-44ef8a4861c4"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 369
< connection: close
<
< {
"data": {
"id": "aea9f54b-8932-4f1f-b9e8-d0ff9c31fe7c",
"type": "account",
"name": "account18",
"legal_name": "legal_name18",
"registration_id": "a9cd5d2e-a728-4373-a3d5-44ef8a4861c4",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/aea9f54b-8932-4f1f-b9e8-d0ff9c31fe7c"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account19",
"legal_name": "legal_name19",
"registration_id": "fee2182e-59ca-4b9d-8880-b60a5cbd6b23"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 369
< connection: close
<
< {
"data": {
"id": "c41c8be3-7c9e-48db-82fe-1df8f7eb26f0",
"type": "account",
"name": "account19",
"legal_name": "legal_name19",
"registration_id": "fee2182e-59ca-4b9d-8880-b60a5cbd6b23",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/c41c8be3-7c9e-48db-82fe-1df8f7eb26f0"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account20",
"legal_name": "legal_name20",
"registration_id": "58306bb5-ac25-4360-9cd8-2f7755a6fe7c"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< content-length: 369
< connection: close
<
< {
"data": {
"id": "4aa47e0a-03fa-4aa7-b123-fbb6e826642b",
"type": "account",
"name": "account20",
"legal_name": "legal_name20",
"registration_id": "58306bb5-ac25-4360-9cd8-2f7755a6fe7c",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/4aa47e0a-03fa-4aa7-b123-fbb6e826642b"
}
}
| store_id | X-Moltin-Settings-page_length |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 19 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> X-Moltin-Settings-page_length: 19
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:33 GMT
< connection: close
< transfer-encoding: chunked
<
< {
"meta": {
"page": {
"limit": 19,
"offset": 0,
"current": 1,
"total": 2
},
"results": {
"total": 20
}
},
"data": [
{
"id": "1e22c345-6fd6-48f6-a727-3b098f8ae6d9",
"type": "account",
"name": "account1",
"legal_name": "legal_name1",
"registration_id": "2698bcdc-a330-4c44-8bb9-757446af2c2c",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/1e22c345-6fd6-48f6-a727-3b098f8ae6d9"
}
},
{
"id": "c387b7a9-d67c-4161-b8fd-a2f6b606eac6",
"type": "account",
"name": "account2",
"legal_name": "legal_name2",
"registration_id": "1a10d47b-5921-4520-af23-85e3e5976c97",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/c387b7a9-d67c-4161-b8fd-a2f6b606eac6"
}
},
{
"id": "b8d1ba81-323c-405b-8715-17be20d75c3a",
"type": "account",
"name": "account3",
"legal_name": "legal_name3",
"registration_id": "ae37f29e-5ba9-4cf5-9ae8-3dc8d8d778e8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/b8d1ba81-323c-405b-8715-17be20d75c3a"
}
},
{
"id": "0bb2e77d-0dc5-4f8b-915e-367c04f609d8",
"type": "account",
"name": "account4",
"legal_name": "legal_name4",
"registration_id": "fce4acfa-a35a-44ac-b17e-272f28453f30",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/0bb2e77d-0dc5-4f8b-915e-367c04f609d8"
}
},
{
"id": "c2fb5e39-1cc9-4c41-b604-414c8db9ecab",
"type": "account",
"name": "account5",
"legal_name": "legal_name5",
"registration_id": "0374b792-ffc2-4be8-8a68-11747d80e721",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/c2fb5e39-1cc9-4c41-b604-414c8db9ecab"
}
},
{
"id": "1fddf015-aab1-47e9-a10f-9739fbfee501",
"type": "account",
"name": "account6",
"legal_name": "legal_name6",
"registration_id": "c8229248-de1b-4769-90ea-a87920ec913f",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/1fddf015-aab1-47e9-a10f-9739fbfee501"
}
},
{
"id": "5dc4fbc2-b072-492b-ae97-7e2a882c3bdf",
"type": "account",
"name": "account7",
"legal_name": "legal_name7",
"registration_id": "c9daec07-5359-4333-9acd-0d71c3145240",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/5dc4fbc2-b072-492b-ae97-7e2a882c3bdf"
}
},
{
"id": "8d79ec91-b0e4-4987-bce7-ebff5573c930",
"type": "account",
"name": "account8",
"legal_name": "legal_name8",
"registration_id": "bc81a449-a143-41c9-ad3a-6503f99f44e4",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/8d79ec91-b0e4-4987-bce7-ebff5573c930"
}
},
{
"id": "3fb8135d-f14c-47f5-ae8f-ae35ac533499",
"type": "account",
"name": "account9",
"legal_name": "legal_name9",
"registration_id": "c2d54b23-2f40-4f3f-a1e8-2c03f5b4f842",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3fb8135d-f14c-47f5-ae8f-ae35ac533499"
}
},
{
"id": "b92404c3-a025-4646-8c53-593c439d702f",
"type": "account",
"name": "account10",
"legal_name": "legal_name10",
"registration_id": "799c01d7-a9b2-4a56-8f9a-8f36d9d239a6",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/b92404c3-a025-4646-8c53-593c439d702f"
}
},
{
"id": "f800c256-d30e-4eff-9f55-e63971942918",
"type": "account",
"name": "account11",
"legal_name": "legal_name11",
"registration_id": "4047f721-f0c5-46ff-9124-792e77db1b7f",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f800c256-d30e-4eff-9f55-e63971942918"
}
},
{
"id": "543cf213-be47-47a3-b468-6031610b5835",
"type": "account",
"name": "account12",
"legal_name": "legal_name12",
"registration_id": "b24612c6-cf08-438f-98b0-af9f96a51c82",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/543cf213-be47-47a3-b468-6031610b5835"
}
},
{
"id": "f83af29b-9dbb-4b97-9038-d1064c480930",
"type": "account",
"name": "account13",
"legal_name": "legal_name13",
"registration_id": "f06e7758-a81c-4927-81d5-9596325fda5b",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f83af29b-9dbb-4b97-9038-d1064c480930"
}
},
{
"id": "4ba982b9-d505-461d-a160-367bc0b50209",
"type": "account",
"name": "account14",
"legal_name": "legal_name14",
"registration_id": "26f92a48-7066-4169-a46c-575ba584ca01",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/4ba982b9-d505-461d-a160-367bc0b50209"
}
},
{
"id": "18a74f7b-9bd6-4fe7-8307-3b7ef215d85f",
"type": "account",
"name": "account15",
"legal_name": "legal_name15",
"registration_id": "662f2988-8834-4b70-8045-0d4420436825",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/18a74f7b-9bd6-4fe7-8307-3b7ef215d85f"
}
},
{
"id": "ee0f00c6-7c6d-40d1-b155-a7835940a8fe",
"type": "account",
"name": "account16",
"legal_name": "legal_name16",
"registration_id": "73a1fee4-d252-432f-a27d-13f9ddd57538",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/ee0f00c6-7c6d-40d1-b155-a7835940a8fe"
}
},
{
"id": "ddfc8a34-4ee0-4cb6-adde-e9e34d50b0dd",
"type": "account",
"name": "account17",
"legal_name": "legal_name17",
"registration_id": "f924428c-bd18-49a7-88b3-025c97d7f09f",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/ddfc8a34-4ee0-4cb6-adde-e9e34d50b0dd"
}
},
{
"id": "aea9f54b-8932-4f1f-b9e8-d0ff9c31fe7c",
"type": "account",
"name": "account18",
"legal_name": "legal_name18",
"registration_id": "a9cd5d2e-a728-4373-a3d5-44ef8a4861c4",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/aea9f54b-8932-4f1f-b9e8-d0ff9c31fe7c"
}
},
{
"id": "c41c8be3-7c9e-48db-82fe-1df8f7eb26f0",
"type": "account",
"name": "account19",
"legal_name": "legal_name19",
"registration_id": "fee2182e-59ca-4b9d-8880-b60a5cbd6b23",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:33.884Z",
"updated_at": "2021-04-15T19:09:33.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/c41c8be3-7c9e-48db-82fe-1df8f7eb26f0"
}
}
],
"links": {
"current": "http://localhost:8087/v2/accounts?page[limit]=19&page[offset]=0",
"first": "http://localhost:8087/v2/accounts?page[offset]=0&page[limit]=19",
"last": "http://localhost:8087/v2/accounts?page[offset]=19&page[limit]=19",
"next": "http://localhost:8087/v2/accounts?page[offset]=19&page[limit]=19",
"prev": "null"
}
}
| current | first | last | next | prev |
|---|---|---|---|---|
| X | X | X | X |
| limit | 19 |
|---|---|
| offset | 0 |
| current | 1 |
| total | 2 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| store_id | name-prefix | legal_name-prefix |
|---|---|---|
| 00000000-0000-1000-8000-111111111111 | account | legal_name |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account1",
"legal_name": "legal_name1",
"registration_id": "a1f247ef-b4c9-4209-94ff-aff86322157a"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "627b604f-baa9-4c3d-a9e7-3811725c25fc",
"type": "account",
"name": "account1",
"legal_name": "legal_name1",
"registration_id": "a1f247ef-b4c9-4209-94ff-aff86322157a",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/627b604f-baa9-4c3d-a9e7-3811725c25fc"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account2",
"legal_name": "legal_name2",
"registration_id": "936aad0f-8ade-4d4a-acbc-7e3d4e36fd6a"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "651b9495-d05e-49de-8c14-97b9e83f753e",
"type": "account",
"name": "account2",
"legal_name": "legal_name2",
"registration_id": "936aad0f-8ade-4d4a-acbc-7e3d4e36fd6a",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/651b9495-d05e-49de-8c14-97b9e83f753e"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account3",
"legal_name": "legal_name3",
"registration_id": "8ba656cf-834d-4902-b7d4-ea59a12fe408"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "a29c7b5e-4641-4da4-af83-b1ed1f809dfe",
"type": "account",
"name": "account3",
"legal_name": "legal_name3",
"registration_id": "8ba656cf-834d-4902-b7d4-ea59a12fe408",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/a29c7b5e-4641-4da4-af83-b1ed1f809dfe"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account4",
"legal_name": "legal_name4",
"registration_id": "45abf1bd-ccb8-4039-a3a5-3559e9c3fc14"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "f6213eaa-dda4-4d62-b00a-c1f1fee81a8d",
"type": "account",
"name": "account4",
"legal_name": "legal_name4",
"registration_id": "45abf1bd-ccb8-4039-a3a5-3559e9c3fc14",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f6213eaa-dda4-4d62-b00a-c1f1fee81a8d"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account5",
"legal_name": "legal_name5",
"registration_id": "6f0575a3-8844-40c0-971b-0eb3c149c134"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "7b1d9f30-bada-4f6f-8c21-434220ac53a4",
"type": "account",
"name": "account5",
"legal_name": "legal_name5",
"registration_id": "6f0575a3-8844-40c0-971b-0eb3c149c134",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/7b1d9f30-bada-4f6f-8c21-434220ac53a4"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account6",
"legal_name": "legal_name6",
"registration_id": "8390e9c2-0567-404a-a836-cbb02976c172"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "12a939df-283f-472e-9746-a345c8423ea8",
"type": "account",
"name": "account6",
"legal_name": "legal_name6",
"registration_id": "8390e9c2-0567-404a-a836-cbb02976c172",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/12a939df-283f-472e-9746-a345c8423ea8"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account7",
"legal_name": "legal_name7",
"registration_id": "9aea3d52-ab23-4576-b234-73fcb5e40a6d"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "d3e46ba3-5008-46ba-a18b-c00f5c735717",
"type": "account",
"name": "account7",
"legal_name": "legal_name7",
"registration_id": "9aea3d52-ab23-4576-b234-73fcb5e40a6d",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/d3e46ba3-5008-46ba-a18b-c00f5c735717"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account8",
"legal_name": "legal_name8",
"registration_id": "38405604-9bef-472d-ae90-b1aea4f964d5"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "8d11ccba-8662-4d55-a098-2b22a397a6c7",
"type": "account",
"name": "account8",
"legal_name": "legal_name8",
"registration_id": "38405604-9bef-472d-ae90-b1aea4f964d5",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/8d11ccba-8662-4d55-a098-2b22a397a6c7"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account9",
"legal_name": "legal_name9",
"registration_id": "e487f198-8eb6-47fd-8237-48f96dbda0c6"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "d3a0ef95-c97b-47d2-87ce-b0f7b0475baf",
"type": "account",
"name": "account9",
"legal_name": "legal_name9",
"registration_id": "e487f198-8eb6-47fd-8237-48f96dbda0c6",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/d3a0ef95-c97b-47d2-87ce-b0f7b0475baf"
}
}
| store_id | page-limit | page-offset | X-Moltin-Settings-page_length |
|---|---|---|---|
| 00000000-0000-1000-8000-111111111111 | 2 | 4 | 20 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts?page[limit]=2&page[offset]=4
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> X-Moltin-Settings-page_length: 20
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 1210
< connection: close
<
< {
"meta": {
"page": {
"limit": 2,
"offset": 4,
"current": 3,
"total": 5
},
"results": {
"total": 9
}
},
"data": [
{
"id": "7b1d9f30-bada-4f6f-8c21-434220ac53a4",
"type": "account",
"name": "account5",
"legal_name": "legal_name5",
"registration_id": "6f0575a3-8844-40c0-971b-0eb3c149c134",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/7b1d9f30-bada-4f6f-8c21-434220ac53a4"
}
},
{
"id": "12a939df-283f-472e-9746-a345c8423ea8",
"type": "account",
"name": "account6",
"legal_name": "legal_name6",
"registration_id": "8390e9c2-0567-404a-a836-cbb02976c172",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/12a939df-283f-472e-9746-a345c8423ea8"
}
}
],
"links": {
"current": "http://localhost:8087/v2/accounts?page[offset]=4&page[limit]=2",
"first": "http://localhost:8087/v2/accounts?page[offset]=0&page[limit]=2",
"last": "http://localhost:8087/v2/accounts?page[offset]=8&page[limit]=2",
"next": "http://localhost:8087/v2/accounts?page[limit]=2&page[offset]=6",
"prev": "http://localhost:8087/v2/accounts?page[offset]=2&page[limit]=2"
}
}
| current | first | last | next | prev |
|---|---|---|---|---|
| X | X | X | X | X |
| limit | 2 |
|---|---|
| offset | 4 |
| current | 3 |
| total | 5 |
| store_id | X-Moltin-Settings-page_length |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 20 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts?page[limit]=2&page[offset]=6
> 0: 2
> 1: 0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 1210
< connection: close
<
< {
"meta": {
"page": {
"limit": 2,
"offset": 6,
"current": 4,
"total": 5
},
"results": {
"total": 9
}
},
"data": [
{
"id": "d3e46ba3-5008-46ba-a18b-c00f5c735717",
"type": "account",
"name": "account7",
"legal_name": "legal_name7",
"registration_id": "9aea3d52-ab23-4576-b234-73fcb5e40a6d",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/d3e46ba3-5008-46ba-a18b-c00f5c735717"
}
},
{
"id": "8d11ccba-8662-4d55-a098-2b22a397a6c7",
"type": "account",
"name": "account8",
"legal_name": "legal_name8",
"registration_id": "38405604-9bef-472d-ae90-b1aea4f964d5",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/8d11ccba-8662-4d55-a098-2b22a397a6c7"
}
}
],
"links": {
"current": "http://localhost:8087/v2/accounts?page[offset]=6&page[limit]=2",
"first": "http://localhost:8087/v2/accounts?page[limit]=2&page[offset]=0",
"last": "http://localhost:8087/v2/accounts?page[offset]=8&page[limit]=2",
"next": "http://localhost:8087/v2/accounts?page[offset]=8&page[limit]=2",
"prev": "http://localhost:8087/v2/accounts?page[limit]=2&page[offset]=4"
}
}
| current | first | last | next | prev |
|---|---|---|---|---|
| X | X | X | X | X |
| limit | 2 |
|---|---|
| offset | 6 |
| current | 4 |
| total | 5 |
| store_id | X-Moltin-Settings-page_length |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 20 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts?page[limit]=2&page[offset]=4
> 0: 2
> 1: 0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 1210
< connection: close
<
< {
"meta": {
"page": {
"limit": 2,
"offset": 4,
"current": 3,
"total": 5
},
"results": {
"total": 9
}
},
"data": [
{
"id": "7b1d9f30-bada-4f6f-8c21-434220ac53a4",
"type": "account",
"name": "account5",
"legal_name": "legal_name5",
"registration_id": "6f0575a3-8844-40c0-971b-0eb3c149c134",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/7b1d9f30-bada-4f6f-8c21-434220ac53a4"
}
},
{
"id": "12a939df-283f-472e-9746-a345c8423ea8",
"type": "account",
"name": "account6",
"legal_name": "legal_name6",
"registration_id": "8390e9c2-0567-404a-a836-cbb02976c172",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/12a939df-283f-472e-9746-a345c8423ea8"
}
}
],
"links": {
"current": "http://localhost:8087/v2/accounts?page[offset]=4&page[limit]=2",
"first": "http://localhost:8087/v2/accounts?page[offset]=0&page[limit]=2",
"last": "http://localhost:8087/v2/accounts?page[offset]=8&page[limit]=2",
"next": "http://localhost:8087/v2/accounts?page[offset]=6&page[limit]=2",
"prev": "http://localhost:8087/v2/accounts?page[offset]=2&page[limit]=2"
}
}
| current | first | last | next | prev |
|---|---|---|---|---|
| X | X | X | X | X |
| limit | 2 |
|---|---|
| offset | 4 |
| current | 3 |
| total | 5 |
| store_id | X-Moltin-Settings-page_length |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 20 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts?page[offset]=0&page[limit]=2
> 0: 2
> 1: 0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 1147
< connection: close
<
< {
"meta": {
"page": {
"limit": 2,
"offset": 0,
"current": 1,
"total": 5
},
"results": {
"total": 9
}
},
"data": [
{
"id": "627b604f-baa9-4c3d-a9e7-3811725c25fc",
"type": "account",
"name": "account1",
"legal_name": "legal_name1",
"registration_id": "a1f247ef-b4c9-4209-94ff-aff86322157a",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/627b604f-baa9-4c3d-a9e7-3811725c25fc"
}
},
{
"id": "651b9495-d05e-49de-8c14-97b9e83f753e",
"type": "account",
"name": "account2",
"legal_name": "legal_name2",
"registration_id": "936aad0f-8ade-4d4a-acbc-7e3d4e36fd6a",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/651b9495-d05e-49de-8c14-97b9e83f753e"
}
}
],
"links": {
"current": "http://localhost:8087/v2/accounts?page[limit]=2&page[offset]=0",
"first": "http://localhost:8087/v2/accounts?page[offset]=0&page[limit]=2",
"last": "http://localhost:8087/v2/accounts?page[offset]=8&page[limit]=2",
"next": "http://localhost:8087/v2/accounts?page[offset]=2&page[limit]=2",
"prev": "null"
}
}
| current | first | last | next | prev |
|---|---|---|---|---|
| X | X | X | X | X |
| limit | 2 |
|---|---|
| offset | 0 |
| current | 1 |
| total | 5 |
| store_id | X-Moltin-Settings-page_length |
|---|---|
| 00000000-0000-1000-8000-111111111111 | 20 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts?page[offset]=8&page[limit]=2
> 0: 2
> 1: 0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 788
< connection: close
<
< {
"meta": {
"page": {
"limit": 2,
"offset": 8,
"current": 5,
"total": 5
},
"results": {
"total": 9
}
},
"data": [
{
"id": "d3a0ef95-c97b-47d2-87ce-b0f7b0475baf",
"type": "account",
"name": "account9",
"legal_name": "legal_name9",
"registration_id": "e487f198-8eb6-47fd-8237-48f96dbda0c6",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/d3a0ef95-c97b-47d2-87ce-b0f7b0475baf"
}
}
],
"links": {
"current": "http://localhost:8087/v2/accounts?page[offset]=8&page[limit]=2",
"first": "http://localhost:8087/v2/accounts?page[offset]=0&page[limit]=2",
"last": "http://localhost:8087/v2/accounts?page[offset]=8&page[limit]=2",
"next": "null",
"prev": "http://localhost:8087/v2/accounts?page[offset]=6&page[limit]=2"
}
}
| current | first | last | next | prev |
|---|---|---|---|---|
| X | X | X | X |
| limit | 2 |
|---|---|
| offset | 8 |
| current | 5 |
| total | 5 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| store_id | name-prefix | legal_name-prefix |
|---|---|---|
| 00000000-0000-1000-8000-111111111111 | account | legal_name |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account1",
"legal_name": "legal_name1",
"registration_id": "61e7b2ef-4e38-4761-b5a3-60a9a9ae006b"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "887231b9-a2eb-4f1d-b780-008c563a497d",
"type": "account",
"name": "account1",
"legal_name": "legal_name1",
"registration_id": "61e7b2ef-4e38-4761-b5a3-60a9a9ae006b",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/887231b9-a2eb-4f1d-b780-008c563a497d"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account2",
"legal_name": "legal_name2",
"registration_id": "031e3907-08ba-4dc7-b024-b29b29cf2d58"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "af3f2866-ca58-4ef3-9564-2f737201fe2b",
"type": "account",
"name": "account2",
"legal_name": "legal_name2",
"registration_id": "031e3907-08ba-4dc7-b024-b29b29cf2d58",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/af3f2866-ca58-4ef3-9564-2f737201fe2b"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account3",
"legal_name": "legal_name3",
"registration_id": "39d75bee-a58a-4d41-b4da-abd2e07cb052"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "73b35cfa-322c-4443-b6ff-45b974377df2",
"type": "account",
"name": "account3",
"legal_name": "legal_name3",
"registration_id": "39d75bee-a58a-4d41-b4da-abd2e07cb052",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/73b35cfa-322c-4443-b6ff-45b974377df2"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account4",
"legal_name": "legal_name4",
"registration_id": "cd441a16-860c-41dd-b08c-00e4b7f1abd6"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "587bc8ac-da4f-448a-9bf0-6d2bb871a130",
"type": "account",
"name": "account4",
"legal_name": "legal_name4",
"registration_id": "cd441a16-860c-41dd-b08c-00e4b7f1abd6",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/587bc8ac-da4f-448a-9bf0-6d2bb871a130"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account5",
"legal_name": "legal_name5",
"registration_id": "00846d32-78a3-4653-a90a-8f95c7536ca8"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "def964d5-b6cd-4da7-b5cf-36804e3a9d1f",
"type": "account",
"name": "account5",
"legal_name": "legal_name5",
"registration_id": "00846d32-78a3-4653-a90a-8f95c7536ca8",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/def964d5-b6cd-4da7-b5cf-36804e3a9d1f"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account6",
"legal_name": "legal_name6",
"registration_id": "5b5b204e-8fd1-4629-ab90-90b0a107bb33"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "7f3fdee5-6760-4616-b72d-db4937e48d47",
"type": "account",
"name": "account6",
"legal_name": "legal_name6",
"registration_id": "5b5b204e-8fd1-4629-ab90-90b0a107bb33",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/7f3fdee5-6760-4616-b72d-db4937e48d47"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account7",
"legal_name": "legal_name7",
"registration_id": "fac1db08-81c6-4178-bd58-29ddf0a4de3e"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "386fe79d-8942-4b4d-b89f-df57c3512723",
"type": "account",
"name": "account7",
"legal_name": "legal_name7",
"registration_id": "fac1db08-81c6-4178-bd58-29ddf0a4de3e",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/386fe79d-8942-4b4d-b89f-df57c3512723"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account8",
"legal_name": "legal_name8",
"registration_id": "8a4c9e11-8ebd-43b1-8477-e1f10c256a73"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "1a15ad54-665f-4025-b8ba-2cc5e0776cfa",
"type": "account",
"name": "account8",
"legal_name": "legal_name8",
"registration_id": "8a4c9e11-8ebd-43b1-8477-e1f10c256a73",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/1a15ad54-665f-4025-b8ba-2cc5e0776cfa"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "account9",
"legal_name": "legal_name9",
"registration_id": "967ff0b5-7fc5-4486-bfdf-9e84c6fc0881"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"data": {
"id": "d1d3fff8-5527-461c-af11-bfe44b36b84f",
"type": "account",
"name": "account9",
"legal_name": "legal_name9",
"registration_id": "967ff0b5-7fc5-4486-bfdf-9e84c6fc0881",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/d1d3fff8-5527-461c-af11-bfe44b36b84f"
}
}
| store_id | page-limit | page-offset | X-Moltin-Settings-page_length |
|---|---|---|---|
| 00000000-0000-1000-8000-111111111111 | -2 | 6 | 20 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts?page[limit]=-2&page[offset]=6
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> X-Moltin-Settings-page_length: 20
> User-Agent: axios/0.19.2
>
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 153
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'ValidatePagination.Limit' Error:Field validation for 'Limit' failed on the 'min' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'ValidatePagination.Limit' Error:Field validation for 'Limit' failed on the 'min' tag |
| store_id | page-limit | page-offset | X-Moltin-Settings-page_length |
|---|---|---|---|
| 00000000-0000-1000-8000-111111111111 | 2 | -1 | 20 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts?page[limit]=2&page[offset]=-1
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> X-Moltin-Settings-page_length: 20
> User-Agent: axios/0.19.2
>
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 155
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'ValidatePagination.Offset' Error:Field validation for 'Offset' failed on the 'min' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'ValidatePagination.Offset' Error:Field validation for 'Offset' failed on the 'min' tag |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| store_id | page-limit | page-offset | X-Moltin-Settings-page_length |
|---|---|---|---|
| 00000000-0000-1000-8000-111111111111 | 100 | 10000 | 20 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts?page[limit]=100&page[offset]=10000
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> X-Moltin-Settings-page_length: 20
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 450
< connection: close
<
< {
"meta": {
"page": {
"limit": 100,
"offset": 10000,
"current": 101,
"total": 0
},
"results": {
"total": 0
}
},
"data": [],
"links": {
"current": "http://localhost:8087/v2/accounts?page[offset]=10000&page[limit]=100",
"first": "http://localhost:8087/v2/accounts?page[offset]=0&page[limit]=100",
"last": "http://localhost:8087/v2/accounts?page[offset]=0&page[limit]=100",
"next": "null",
"prev": "http://localhost:8087/v2/accounts?page[offset]=0&page[limit]=100"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| store_id | page-limit | page-offset | X-Moltin-Settings-page_length |
|---|---|---|---|
| 00000000-0000-1000-8000-111111111111 | 100 | 10001 | 20 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts?page[limit]=100&page[offset]=10001
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> X-Moltin-Settings-page_length: 20
> User-Agent: axios/0.19.2
>
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 112
< connection: close
<
< {
"errors": [
{
"detail": "page offset has been exceeded enforced limitation",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | page offset has been exceeded enforced limitation |
| store_id | page-limit | page-offset | X-Moltin-Settings-page_length |
|---|---|---|---|
| 00000000-0000-1000-8000-111111111111 | 101 | 10000 | 20 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts?page[limit]=101&page[offset]=10000
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-111111111111
> X-Moltin-Settings-page_length: 20
> User-Agent: axios/0.19.2
>
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 111
< connection: close
<
< {
"errors": [
{
"detail": "page limit has been exceeded enforced limitation",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | page limit has been exceeded enforced limitation |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| store_id | page-limit | page-offset |
|---|---|---|
| 00000000-0000-3000-8000-333333333333 | 2 | 0 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts?page[limit]=2&page[offset]=0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-3000-8000-333333333333
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 367
< connection: close
<
< {
"meta": {
"page": {
"limit": 2,
"offset": 0,
"current": 1,
"total": 0
},
"results": {
"total": 0
}
},
"data": [],
"links": {
"current": "http://localhost:8087/v2/accounts?page[offset]=0&page[limit]=2",
"first": "http://localhost:8087/v2/accounts?page[offset]=0&page[limit]=2",
"last": "http://localhost:8087/v2/accounts?page[limit]=2&page[offset]=0",
"next": "null",
"prev": "null"
}
}
| current | first | last | next | prev |
|---|---|---|---|---|
| X | X | X |
| limit | 2 |
|---|---|
| offset | 0 |
| current | 1 |
| total | 0 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name-prefix | legal_name-prefix | registration_id-prefix | store_id |
|---|---|---|---|
| sub-acc-test-create-name | sub-acc-test-create-legal_name | 00000000-0000-1000-8000-2222222222 | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-create-name-1",
"legal_name": "sub-acc-test-create-legal_name-1",
"registration_id": "00000000-0000-1000-8000-2222222222-1"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 406
< connection: close
<
< {
"data": {
"id": "67ca6d65-02ca-441c-8216-f5e9dbf36aa0",
"type": "account",
"name": "sub-acc-test-create-name-1",
"legal_name": "sub-acc-test-create-legal_name-1",
"registration_id": "00000000-0000-1000-8000-2222222222-1",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/67ca6d65-02ca-441c-8216-f5e9dbf36aa0"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-create-name-2",
"legal_name": "sub-acc-test-create-legal_name-2",
"registration_id": "00000000-0000-1000-8000-2222222222-2",
"parent_id": "67ca6d65-02ca-441c-8216-f5e9dbf36aa0"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 591
< connection: close
<
< {
"data": {
"id": "b72b263a-2df1-4715-94d7-8435abe5aa25",
"type": "account",
"name": "sub-acc-test-create-name-2",
"legal_name": "sub-acc-test-create-legal_name-2",
"registration_id": "00000000-0000-1000-8000-2222222222-2",
"relationships": {
"parent": {
"data": {
"id": "67ca6d65-02ca-441c-8216-f5e9dbf36aa0",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "67ca6d65-02ca-441c-8216-f5e9dbf36aa0",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/b72b263a-2df1-4715-94d7-8435abe5aa25"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-create-name-3",
"legal_name": "sub-acc-test-create-legal_name-3",
"registration_id": "00000000-0000-1000-8000-2222222222-3",
"parent_id": "b72b263a-2df1-4715-94d7-8435abe5aa25"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 663
< connection: close
<
< {
"data": {
"id": "a9fa86c3-3229-442e-99f5-f30bccd67506",
"type": "account",
"name": "sub-acc-test-create-name-3",
"legal_name": "sub-acc-test-create-legal_name-3",
"registration_id": "00000000-0000-1000-8000-2222222222-3",
"relationships": {
"parent": {
"data": {
"id": "b72b263a-2df1-4715-94d7-8435abe5aa25",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "67ca6d65-02ca-441c-8216-f5e9dbf36aa0",
"type": "account"
}
},
{
"data": {
"id": "b72b263a-2df1-4715-94d7-8435abe5aa25",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/a9fa86c3-3229-442e-99f5-f30bccd67506"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-create-name-4",
"legal_name": "sub-acc-test-create-legal_name-4",
"registration_id": "00000000-0000-1000-8000-2222222222-4",
"parent_id": "a9fa86c3-3229-442e-99f5-f30bccd67506"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 735
< connection: close
<
< {
"data": {
"id": "5725a124-7176-4c73-ab73-2d33c2672051",
"type": "account",
"name": "sub-acc-test-create-name-4",
"legal_name": "sub-acc-test-create-legal_name-4",
"registration_id": "00000000-0000-1000-8000-2222222222-4",
"relationships": {
"parent": {
"data": {
"id": "a9fa86c3-3229-442e-99f5-f30bccd67506",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "67ca6d65-02ca-441c-8216-f5e9dbf36aa0",
"type": "account"
}
},
{
"data": {
"id": "b72b263a-2df1-4715-94d7-8435abe5aa25",
"type": "account"
}
},
{
"data": {
"id": "a9fa86c3-3229-442e-99f5-f30bccd67506",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/5725a124-7176-4c73-ab73-2d33c2672051"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-create-name-5",
"legal_name": "sub-acc-test-create-legal_name-5",
"registration_id": "00000000-0000-1000-8000-2222222222-5",
"parent_id": "5725a124-7176-4c73-ab73-2d33c2672051"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 807
< connection: close
<
< {
"data": {
"id": "40699c2a-d888-4b1e-b218-519fba5fb92f",
"type": "account",
"name": "sub-acc-test-create-name-5",
"legal_name": "sub-acc-test-create-legal_name-5",
"registration_id": "00000000-0000-1000-8000-2222222222-5",
"relationships": {
"parent": {
"data": {
"id": "5725a124-7176-4c73-ab73-2d33c2672051",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "67ca6d65-02ca-441c-8216-f5e9dbf36aa0",
"type": "account"
}
},
{
"data": {
"id": "b72b263a-2df1-4715-94d7-8435abe5aa25",
"type": "account"
}
},
{
"data": {
"id": "a9fa86c3-3229-442e-99f5-f30bccd67506",
"type": "account"
}
},
{
"data": {
"id": "5725a124-7176-4c73-ab73-2d33c2672051",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/40699c2a-d888-4b1e-b218-519fba5fb92f"
}
}
| name | legal_name | registration_id | parent_id | ancestors | type | id |
|---|---|---|---|---|---|---|
| sub-acc-test-create-name-5 | sub-acc-test-create-legal_name-5 | 00000000-0000-1000-8000-2222222222-5 | previous | previous-list-all | account | any |
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/40699c2a-d888-4b1e-b218-519fba5fb92f
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 807
< connection: close
<
< {
"data": {
"id": "40699c2a-d888-4b1e-b218-519fba5fb92f",
"type": "account",
"name": "sub-acc-test-create-name-5",
"legal_name": "sub-acc-test-create-legal_name-5",
"registration_id": "00000000-0000-1000-8000-2222222222-5",
"relationships": {
"parent": {
"data": {
"id": "5725a124-7176-4c73-ab73-2d33c2672051",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "67ca6d65-02ca-441c-8216-f5e9dbf36aa0",
"type": "account"
}
},
{
"data": {
"id": "b72b263a-2df1-4715-94d7-8435abe5aa25",
"type": "account"
}
},
{
"data": {
"id": "a9fa86c3-3229-442e-99f5-f30bccd67506",
"type": "account"
}
},
{
"data": {
"id": "5725a124-7176-4c73-ab73-2d33c2672051",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/40699c2a-d888-4b1e-b218-519fba5fb92f"
}
}
| name | legal_name | registration_id | parent_id | ancestors | type | id |
|---|---|---|---|---|---|---|
| sub-acc-test-create-name-5 | sub-acc-test-create-legal_name-5 | 00000000-0000-1000-8000-2222222222-5 | previous | previous-list-all | account | any |
| name | legal_name | registration_id | store_id | parent_id |
|---|---|---|---|---|
| parallel-sub-acc-test-create-name | parallel-sub-acc-test-create-legal_name | 00000000-0000-1000-8000-444444444444 | 00000000-0000-1000-8000-000000000000 | previous-3 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "parallel-sub-acc-test-create-name",
"legal_name": "parallel-sub-acc-test-create-legal_name",
"registration_id": "00000000-0000-1000-8000-444444444444",
"parent_id": "a9fa86c3-3229-442e-99f5-f30bccd67506"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 749
< connection: close
<
< {
"data": {
"id": "f5d9dac0-06b6-4870-ac27-cd3821c2410b",
"type": "account",
"name": "parallel-sub-acc-test-create-name",
"legal_name": "parallel-sub-acc-test-create-legal_name",
"registration_id": "00000000-0000-1000-8000-444444444444",
"relationships": {
"parent": {
"data": {
"id": "a9fa86c3-3229-442e-99f5-f30bccd67506",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "67ca6d65-02ca-441c-8216-f5e9dbf36aa0",
"type": "account"
}
},
{
"data": {
"id": "b72b263a-2df1-4715-94d7-8435abe5aa25",
"type": "account"
}
},
{
"data": {
"id": "a9fa86c3-3229-442e-99f5-f30bccd67506",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f5d9dac0-06b6-4870-ac27-cd3821c2410b"
}
}
| name | legal_name | registration_id | parent_id | ancestors | type | id |
|---|---|---|---|---|---|---|
| parallel-sub-acc-test-create-name | parallel-sub-acc-test-create-legal_name | 00000000-0000-1000-8000-444444444444 | previous-3 | previous-list-3 | account | any |
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 |
|
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/f5d9dac0-06b6-4870-ac27-cd3821c2410b
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 749
< connection: close
<
< {
"data": {
"id": "f5d9dac0-06b6-4870-ac27-cd3821c2410b",
"type": "account",
"name": "parallel-sub-acc-test-create-name",
"legal_name": "parallel-sub-acc-test-create-legal_name",
"registration_id": "00000000-0000-1000-8000-444444444444",
"relationships": {
"parent": {
"data": {
"id": "a9fa86c3-3229-442e-99f5-f30bccd67506",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "67ca6d65-02ca-441c-8216-f5e9dbf36aa0",
"type": "account"
}
},
{
"data": {
"id": "b72b263a-2df1-4715-94d7-8435abe5aa25",
"type": "account"
}
},
{
"data": {
"id": "a9fa86c3-3229-442e-99f5-f30bccd67506",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/f5d9dac0-06b6-4870-ac27-cd3821c2410b"
}
}
| name | legal_name | registration_id | parent_id | ancestors | type | id |
|---|---|---|---|---|---|---|
| parallel-sub-acc-test-create-name | parallel-sub-acc-test-create-legal_name | 00000000-0000-1000-8000-444444444444 | previous-3 | previous-list-3 | account | any |
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 | previous-3 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/a9fa86c3-3229-442e-99f5-f30bccd67506
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 663
< connection: close
<
< {
"data": {
"id": "a9fa86c3-3229-442e-99f5-f30bccd67506",
"type": "account",
"name": "sub-acc-test-create-name-3",
"legal_name": "sub-acc-test-create-legal_name-3",
"registration_id": "00000000-0000-1000-8000-2222222222-3",
"relationships": {
"parent": {
"data": {
"id": "b72b263a-2df1-4715-94d7-8435abe5aa25",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "67ca6d65-02ca-441c-8216-f5e9dbf36aa0",
"type": "account"
}
},
{
"data": {
"id": "b72b263a-2df1-4715-94d7-8435abe5aa25",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/a9fa86c3-3229-442e-99f5-f30bccd67506"
}
}
| name | legal_name | registration_id | parent_id | ancestors | type | id |
|---|---|---|---|---|---|---|
| sub-acc-test-create-name-3 | sub-acc-test-create-legal_name-3 | 00000000-0000-1000-8000-2222222222-3 | previous-2 | previous-list-2 | account | any |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | store_id | parent_id |
|---|---|---|---|---|
| sub-acc-test-non-existent-name | sub-acc-test-non-existent-legal_name | 00000000-0000-1000-8000-222222222222 | 00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000-444444444444 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-non-existent-name",
"legal_name": "sub-acc-test-non-existent-legal_name",
"registration_id": "00000000-0000-1000-8000-222222222222",
"parent_id": "00000000-0000-1000-8000-444444444444"
}
}
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 78
< connection: close
<
< {
"errors": [
{
"detail": "account not found",
"status": "404",
"title": "Not Found"
}
]
}
| status | title | detail |
|---|---|---|
| 404 | Not Found | account not found |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name-prefix | legal_name-prefix | registration_id-prefix | store_id |
|---|---|---|---|
| sub-acc-test-off-limit-name | sub-acc-test-off-limit-legal_name | 00000000-0000-1000-8000-2222222222 | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-1",
"legal_name": "sub-acc-test-off-limit-legal_name-1",
"registration_id": "00000000-0000-1000-8000-2222222222-1"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 412
< connection: close
<
< {
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account",
"name": "sub-acc-test-off-limit-name-1",
"legal_name": "sub-acc-test-off-limit-legal_name-1",
"registration_id": "00000000-0000-1000-8000-2222222222-1",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/5b459199-93cd-4f89-8326-836aea071add"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-2",
"legal_name": "sub-acc-test-off-limit-legal_name-2",
"registration_id": "00000000-0000-1000-8000-2222222222-2",
"parent_id": "5b459199-93cd-4f89-8326-836aea071add"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 597
< connection: close
<
< {
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account",
"name": "sub-acc-test-off-limit-name-2",
"legal_name": "sub-acc-test-off-limit-legal_name-2",
"registration_id": "00000000-0000-1000-8000-2222222222-2",
"relationships": {
"parent": {
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/d0bb9373-08ca-4295-aa05-6b0c535fa2a5"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-3",
"legal_name": "sub-acc-test-off-limit-legal_name-3",
"registration_id": "00000000-0000-1000-8000-2222222222-3",
"parent_id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 669
< connection: close
<
< {
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account",
"name": "sub-acc-test-off-limit-name-3",
"legal_name": "sub-acc-test-off-limit-legal_name-3",
"registration_id": "00000000-0000-1000-8000-2222222222-3",
"relationships": {
"parent": {
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/cbf9a0e0-2f58-464b-8c34-ce74d9af76f8"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-4",
"legal_name": "sub-acc-test-off-limit-legal_name-4",
"registration_id": "00000000-0000-1000-8000-2222222222-4",
"parent_id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 741
< connection: close
<
< {
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account",
"name": "sub-acc-test-off-limit-name-4",
"legal_name": "sub-acc-test-off-limit-legal_name-4",
"registration_id": "00000000-0000-1000-8000-2222222222-4",
"relationships": {
"parent": {
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/8a40c3a6-2bee-454f-a8f3-0615f2d97f9c"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-5",
"legal_name": "sub-acc-test-off-limit-legal_name-5",
"registration_id": "00000000-0000-1000-8000-2222222222-5",
"parent_id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 813
< connection: close
<
< {
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account",
"name": "sub-acc-test-off-limit-name-5",
"legal_name": "sub-acc-test-off-limit-legal_name-5",
"registration_id": "00000000-0000-1000-8000-2222222222-5",
"relationships": {
"parent": {
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/7fb692a1-13f8-4bae-a89f-f8f015e45553"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-6",
"legal_name": "sub-acc-test-off-limit-legal_name-6",
"registration_id": "00000000-0000-1000-8000-2222222222-6",
"parent_id": "7fb692a1-13f8-4bae-a89f-f8f015e45553"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 885
< connection: close
<
< {
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account",
"name": "sub-acc-test-off-limit-name-6",
"legal_name": "sub-acc-test-off-limit-legal_name-6",
"registration_id": "00000000-0000-1000-8000-2222222222-6",
"relationships": {
"parent": {
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/25d5ccea-1f87-4e8a-9576-d6e00db53b82"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-7",
"legal_name": "sub-acc-test-off-limit-legal_name-7",
"registration_id": "00000000-0000-1000-8000-2222222222-7",
"parent_id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 957
< connection: close
<
< {
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account",
"name": "sub-acc-test-off-limit-name-7",
"legal_name": "sub-acc-test-off-limit-legal_name-7",
"registration_id": "00000000-0000-1000-8000-2222222222-7",
"relationships": {
"parent": {
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/1255d375-3d85-43e3-9a54-91c08741d851"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-8",
"legal_name": "sub-acc-test-off-limit-legal_name-8",
"registration_id": "00000000-0000-1000-8000-2222222222-8",
"parent_id": "1255d375-3d85-43e3-9a54-91c08741d851"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 1029
< connection: close
<
< {
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account",
"name": "sub-acc-test-off-limit-name-8",
"legal_name": "sub-acc-test-off-limit-legal_name-8",
"registration_id": "00000000-0000-1000-8000-2222222222-8",
"relationships": {
"parent": {
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/7965c099-8c3f-4a5e-9d9f-4d32805e60f5"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-9",
"legal_name": "sub-acc-test-off-limit-legal_name-9",
"registration_id": "00000000-0000-1000-8000-2222222222-9",
"parent_id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 1101
< connection: close
<
< {
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account",
"name": "sub-acc-test-off-limit-name-9",
"legal_name": "sub-acc-test-off-limit-legal_name-9",
"registration_id": "00000000-0000-1000-8000-2222222222-9",
"relationships": {
"parent": {
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
{
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/474d9bff-75b2-4cad-bc03-58339f82204a"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-10",
"legal_name": "sub-acc-test-off-limit-legal_name-10",
"registration_id": "00000000-0000-1000-8000-2222222222-10",
"parent_id": "474d9bff-75b2-4cad-bc03-58339f82204a"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 1176
< connection: close
<
< {
"data": {
"id": "b57e62cc-77f4-4444-841e-3806bb66045d",
"type": "account",
"name": "sub-acc-test-off-limit-name-10",
"legal_name": "sub-acc-test-off-limit-legal_name-10",
"registration_id": "00000000-0000-1000-8000-2222222222-10",
"relationships": {
"parent": {
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
{
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
},
{
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/b57e62cc-77f4-4444-841e-3806bb66045d"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-11",
"legal_name": "sub-acc-test-off-limit-legal_name-11",
"registration_id": "00000000-0000-1000-8000-2222222222-11",
"parent_id": "b57e62cc-77f4-4444-841e-3806bb66045d"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 1248
< connection: close
<
< {
"data": {
"id": "43331680-f1cc-4cc1-bd63-beb4f30d43c5",
"type": "account",
"name": "sub-acc-test-off-limit-name-11",
"legal_name": "sub-acc-test-off-limit-legal_name-11",
"registration_id": "00000000-0000-1000-8000-2222222222-11",
"relationships": {
"parent": {
"data": {
"id": "b57e62cc-77f4-4444-841e-3806bb66045d",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
{
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
},
{
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account"
}
},
{
"data": {
"id": "b57e62cc-77f4-4444-841e-3806bb66045d",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/43331680-f1cc-4cc1-bd63-beb4f30d43c5"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-12",
"legal_name": "sub-acc-test-off-limit-legal_name-12",
"registration_id": "00000000-0000-1000-8000-2222222222-12",
"parent_id": "43331680-f1cc-4cc1-bd63-beb4f30d43c5"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 1320
< connection: close
<
< {
"data": {
"id": "fe0988ea-5dcc-427b-9522-04ad4d869297",
"type": "account",
"name": "sub-acc-test-off-limit-name-12",
"legal_name": "sub-acc-test-off-limit-legal_name-12",
"registration_id": "00000000-0000-1000-8000-2222222222-12",
"relationships": {
"parent": {
"data": {
"id": "43331680-f1cc-4cc1-bd63-beb4f30d43c5",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
{
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
},
{
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account"
}
},
{
"data": {
"id": "b57e62cc-77f4-4444-841e-3806bb66045d",
"type": "account"
}
},
{
"data": {
"id": "43331680-f1cc-4cc1-bd63-beb4f30d43c5",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/fe0988ea-5dcc-427b-9522-04ad4d869297"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-13",
"legal_name": "sub-acc-test-off-limit-legal_name-13",
"registration_id": "00000000-0000-1000-8000-2222222222-13",
"parent_id": "fe0988ea-5dcc-427b-9522-04ad4d869297"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 1392
< connection: close
<
< {
"data": {
"id": "c2f48a80-4945-4324-8e01-65bb7be57996",
"type": "account",
"name": "sub-acc-test-off-limit-name-13",
"legal_name": "sub-acc-test-off-limit-legal_name-13",
"registration_id": "00000000-0000-1000-8000-2222222222-13",
"relationships": {
"parent": {
"data": {
"id": "fe0988ea-5dcc-427b-9522-04ad4d869297",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
{
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
},
{
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account"
}
},
{
"data": {
"id": "b57e62cc-77f4-4444-841e-3806bb66045d",
"type": "account"
}
},
{
"data": {
"id": "43331680-f1cc-4cc1-bd63-beb4f30d43c5",
"type": "account"
}
},
{
"data": {
"id": "fe0988ea-5dcc-427b-9522-04ad4d869297",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/c2f48a80-4945-4324-8e01-65bb7be57996"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-14",
"legal_name": "sub-acc-test-off-limit-legal_name-14",
"registration_id": "00000000-0000-1000-8000-2222222222-14",
"parent_id": "c2f48a80-4945-4324-8e01-65bb7be57996"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 1464
< connection: close
<
< {
"data": {
"id": "3ba7734b-79ef-4b59-9a4f-7a28f5cce717",
"type": "account",
"name": "sub-acc-test-off-limit-name-14",
"legal_name": "sub-acc-test-off-limit-legal_name-14",
"registration_id": "00000000-0000-1000-8000-2222222222-14",
"relationships": {
"parent": {
"data": {
"id": "c2f48a80-4945-4324-8e01-65bb7be57996",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
{
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
},
{
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account"
}
},
{
"data": {
"id": "b57e62cc-77f4-4444-841e-3806bb66045d",
"type": "account"
}
},
{
"data": {
"id": "43331680-f1cc-4cc1-bd63-beb4f30d43c5",
"type": "account"
}
},
{
"data": {
"id": "fe0988ea-5dcc-427b-9522-04ad4d869297",
"type": "account"
}
},
{
"data": {
"id": "c2f48a80-4945-4324-8e01-65bb7be57996",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3ba7734b-79ef-4b59-9a4f-7a28f5cce717"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-15",
"legal_name": "sub-acc-test-off-limit-legal_name-15",
"registration_id": "00000000-0000-1000-8000-2222222222-15",
"parent_id": "3ba7734b-79ef-4b59-9a4f-7a28f5cce717"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:34 GMT
< content-length: 1536
< connection: close
<
< {
"data": {
"id": "5d4db8cc-963c-4061-b04f-0b574684d379",
"type": "account",
"name": "sub-acc-test-off-limit-name-15",
"legal_name": "sub-acc-test-off-limit-legal_name-15",
"registration_id": "00000000-0000-1000-8000-2222222222-15",
"relationships": {
"parent": {
"data": {
"id": "3ba7734b-79ef-4b59-9a4f-7a28f5cce717",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
{
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
},
{
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account"
}
},
{
"data": {
"id": "b57e62cc-77f4-4444-841e-3806bb66045d",
"type": "account"
}
},
{
"data": {
"id": "43331680-f1cc-4cc1-bd63-beb4f30d43c5",
"type": "account"
}
},
{
"data": {
"id": "fe0988ea-5dcc-427b-9522-04ad4d869297",
"type": "account"
}
},
{
"data": {
"id": "c2f48a80-4945-4324-8e01-65bb7be57996",
"type": "account"
}
},
{
"data": {
"id": "3ba7734b-79ef-4b59-9a4f-7a28f5cce717",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:34.884Z",
"updated_at": "2021-04-15T19:09:34.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/5d4db8cc-963c-4061-b04f-0b574684d379"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-16",
"legal_name": "sub-acc-test-off-limit-legal_name-16",
"registration_id": "00000000-0000-1000-8000-2222222222-16",
"parent_id": "5d4db8cc-963c-4061-b04f-0b574684d379"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 1608
< connection: close
<
< {
"data": {
"id": "2e0e5256-74c7-426f-aaf4-fd0b1fe03ed4",
"type": "account",
"name": "sub-acc-test-off-limit-name-16",
"legal_name": "sub-acc-test-off-limit-legal_name-16",
"registration_id": "00000000-0000-1000-8000-2222222222-16",
"relationships": {
"parent": {
"data": {
"id": "5d4db8cc-963c-4061-b04f-0b574684d379",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
{
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
},
{
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account"
}
},
{
"data": {
"id": "b57e62cc-77f4-4444-841e-3806bb66045d",
"type": "account"
}
},
{
"data": {
"id": "43331680-f1cc-4cc1-bd63-beb4f30d43c5",
"type": "account"
}
},
{
"data": {
"id": "fe0988ea-5dcc-427b-9522-04ad4d869297",
"type": "account"
}
},
{
"data": {
"id": "c2f48a80-4945-4324-8e01-65bb7be57996",
"type": "account"
}
},
{
"data": {
"id": "3ba7734b-79ef-4b59-9a4f-7a28f5cce717",
"type": "account"
}
},
{
"data": {
"id": "5d4db8cc-963c-4061-b04f-0b574684d379",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/2e0e5256-74c7-426f-aaf4-fd0b1fe03ed4"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-17",
"legal_name": "sub-acc-test-off-limit-legal_name-17",
"registration_id": "00000000-0000-1000-8000-2222222222-17",
"parent_id": "2e0e5256-74c7-426f-aaf4-fd0b1fe03ed4"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 1680
< connection: close
<
< {
"data": {
"id": "32dcc982-4f18-4e8a-82fc-670aec2d298e",
"type": "account",
"name": "sub-acc-test-off-limit-name-17",
"legal_name": "sub-acc-test-off-limit-legal_name-17",
"registration_id": "00000000-0000-1000-8000-2222222222-17",
"relationships": {
"parent": {
"data": {
"id": "2e0e5256-74c7-426f-aaf4-fd0b1fe03ed4",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
{
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
},
{
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account"
}
},
{
"data": {
"id": "b57e62cc-77f4-4444-841e-3806bb66045d",
"type": "account"
}
},
{
"data": {
"id": "43331680-f1cc-4cc1-bd63-beb4f30d43c5",
"type": "account"
}
},
{
"data": {
"id": "fe0988ea-5dcc-427b-9522-04ad4d869297",
"type": "account"
}
},
{
"data": {
"id": "c2f48a80-4945-4324-8e01-65bb7be57996",
"type": "account"
}
},
{
"data": {
"id": "3ba7734b-79ef-4b59-9a4f-7a28f5cce717",
"type": "account"
}
},
{
"data": {
"id": "5d4db8cc-963c-4061-b04f-0b574684d379",
"type": "account"
}
},
{
"data": {
"id": "2e0e5256-74c7-426f-aaf4-fd0b1fe03ed4",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/32dcc982-4f18-4e8a-82fc-670aec2d298e"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-18",
"legal_name": "sub-acc-test-off-limit-legal_name-18",
"registration_id": "00000000-0000-1000-8000-2222222222-18",
"parent_id": "32dcc982-4f18-4e8a-82fc-670aec2d298e"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 1752
< connection: close
<
< {
"data": {
"id": "4a15515f-e037-4ada-96c1-6df15aef2ce3",
"type": "account",
"name": "sub-acc-test-off-limit-name-18",
"legal_name": "sub-acc-test-off-limit-legal_name-18",
"registration_id": "00000000-0000-1000-8000-2222222222-18",
"relationships": {
"parent": {
"data": {
"id": "32dcc982-4f18-4e8a-82fc-670aec2d298e",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
{
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
},
{
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account"
}
},
{
"data": {
"id": "b57e62cc-77f4-4444-841e-3806bb66045d",
"type": "account"
}
},
{
"data": {
"id": "43331680-f1cc-4cc1-bd63-beb4f30d43c5",
"type": "account"
}
},
{
"data": {
"id": "fe0988ea-5dcc-427b-9522-04ad4d869297",
"type": "account"
}
},
{
"data": {
"id": "c2f48a80-4945-4324-8e01-65bb7be57996",
"type": "account"
}
},
{
"data": {
"id": "3ba7734b-79ef-4b59-9a4f-7a28f5cce717",
"type": "account"
}
},
{
"data": {
"id": "5d4db8cc-963c-4061-b04f-0b574684d379",
"type": "account"
}
},
{
"data": {
"id": "2e0e5256-74c7-426f-aaf4-fd0b1fe03ed4",
"type": "account"
}
},
{
"data": {
"id": "32dcc982-4f18-4e8a-82fc-670aec2d298e",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/4a15515f-e037-4ada-96c1-6df15aef2ce3"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-19",
"legal_name": "sub-acc-test-off-limit-legal_name-19",
"registration_id": "00000000-0000-1000-8000-2222222222-19",
"parent_id": "4a15515f-e037-4ada-96c1-6df15aef2ce3"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 1824
< connection: close
<
< {
"data": {
"id": "873c8bf5-a84b-4d0f-9b1b-db075298736f",
"type": "account",
"name": "sub-acc-test-off-limit-name-19",
"legal_name": "sub-acc-test-off-limit-legal_name-19",
"registration_id": "00000000-0000-1000-8000-2222222222-19",
"relationships": {
"parent": {
"data": {
"id": "4a15515f-e037-4ada-96c1-6df15aef2ce3",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
{
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
},
{
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account"
}
},
{
"data": {
"id": "b57e62cc-77f4-4444-841e-3806bb66045d",
"type": "account"
}
},
{
"data": {
"id": "43331680-f1cc-4cc1-bd63-beb4f30d43c5",
"type": "account"
}
},
{
"data": {
"id": "fe0988ea-5dcc-427b-9522-04ad4d869297",
"type": "account"
}
},
{
"data": {
"id": "c2f48a80-4945-4324-8e01-65bb7be57996",
"type": "account"
}
},
{
"data": {
"id": "3ba7734b-79ef-4b59-9a4f-7a28f5cce717",
"type": "account"
}
},
{
"data": {
"id": "5d4db8cc-963c-4061-b04f-0b574684d379",
"type": "account"
}
},
{
"data": {
"id": "2e0e5256-74c7-426f-aaf4-fd0b1fe03ed4",
"type": "account"
}
},
{
"data": {
"id": "32dcc982-4f18-4e8a-82fc-670aec2d298e",
"type": "account"
}
},
{
"data": {
"id": "4a15515f-e037-4ada-96c1-6df15aef2ce3",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/873c8bf5-a84b-4d0f-9b1b-db075298736f"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-20",
"legal_name": "sub-acc-test-off-limit-legal_name-20",
"registration_id": "00000000-0000-1000-8000-2222222222-20",
"parent_id": "873c8bf5-a84b-4d0f-9b1b-db075298736f"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 1896
< connection: close
<
< {
"data": {
"id": "967ca418-ef69-4a40-a835-d41022066fac",
"type": "account",
"name": "sub-acc-test-off-limit-name-20",
"legal_name": "sub-acc-test-off-limit-legal_name-20",
"registration_id": "00000000-0000-1000-8000-2222222222-20",
"relationships": {
"parent": {
"data": {
"id": "873c8bf5-a84b-4d0f-9b1b-db075298736f",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
{
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
},
{
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account"
}
},
{
"data": {
"id": "b57e62cc-77f4-4444-841e-3806bb66045d",
"type": "account"
}
},
{
"data": {
"id": "43331680-f1cc-4cc1-bd63-beb4f30d43c5",
"type": "account"
}
},
{
"data": {
"id": "fe0988ea-5dcc-427b-9522-04ad4d869297",
"type": "account"
}
},
{
"data": {
"id": "c2f48a80-4945-4324-8e01-65bb7be57996",
"type": "account"
}
},
{
"data": {
"id": "3ba7734b-79ef-4b59-9a4f-7a28f5cce717",
"type": "account"
}
},
{
"data": {
"id": "5d4db8cc-963c-4061-b04f-0b574684d379",
"type": "account"
}
},
{
"data": {
"id": "2e0e5256-74c7-426f-aaf4-fd0b1fe03ed4",
"type": "account"
}
},
{
"data": {
"id": "32dcc982-4f18-4e8a-82fc-670aec2d298e",
"type": "account"
}
},
{
"data": {
"id": "4a15515f-e037-4ada-96c1-6df15aef2ce3",
"type": "account"
}
},
{
"data": {
"id": "873c8bf5-a84b-4d0f-9b1b-db075298736f",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/967ca418-ef69-4a40-a835-d41022066fac"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-21",
"legal_name": "sub-acc-test-off-limit-legal_name-21",
"registration_id": "00000000-0000-1000-8000-2222222222-21",
"parent_id": "967ca418-ef69-4a40-a835-d41022066fac"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 1968
< connection: close
<
< {
"data": {
"id": "43c1e944-6083-468c-9070-e9fb890b955d",
"type": "account",
"name": "sub-acc-test-off-limit-name-21",
"legal_name": "sub-acc-test-off-limit-legal_name-21",
"registration_id": "00000000-0000-1000-8000-2222222222-21",
"relationships": {
"parent": {
"data": {
"id": "967ca418-ef69-4a40-a835-d41022066fac",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
{
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
},
{
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account"
}
},
{
"data": {
"id": "b57e62cc-77f4-4444-841e-3806bb66045d",
"type": "account"
}
},
{
"data": {
"id": "43331680-f1cc-4cc1-bd63-beb4f30d43c5",
"type": "account"
}
},
{
"data": {
"id": "fe0988ea-5dcc-427b-9522-04ad4d869297",
"type": "account"
}
},
{
"data": {
"id": "c2f48a80-4945-4324-8e01-65bb7be57996",
"type": "account"
}
},
{
"data": {
"id": "3ba7734b-79ef-4b59-9a4f-7a28f5cce717",
"type": "account"
}
},
{
"data": {
"id": "5d4db8cc-963c-4061-b04f-0b574684d379",
"type": "account"
}
},
{
"data": {
"id": "2e0e5256-74c7-426f-aaf4-fd0b1fe03ed4",
"type": "account"
}
},
{
"data": {
"id": "32dcc982-4f18-4e8a-82fc-670aec2d298e",
"type": "account"
}
},
{
"data": {
"id": "4a15515f-e037-4ada-96c1-6df15aef2ce3",
"type": "account"
}
},
{
"data": {
"id": "873c8bf5-a84b-4d0f-9b1b-db075298736f",
"type": "account"
}
},
{
"data": {
"id": "967ca418-ef69-4a40-a835-d41022066fac",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/43c1e944-6083-468c-9070-e9fb890b955d"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-22",
"legal_name": "sub-acc-test-off-limit-legal_name-22",
"registration_id": "00000000-0000-1000-8000-2222222222-22",
"parent_id": "43c1e944-6083-468c-9070-e9fb890b955d"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 2040
< connection: close
<
< {
"data": {
"id": "29416067-8042-4144-a238-d297cb062271",
"type": "account",
"name": "sub-acc-test-off-limit-name-22",
"legal_name": "sub-acc-test-off-limit-legal_name-22",
"registration_id": "00000000-0000-1000-8000-2222222222-22",
"relationships": {
"parent": {
"data": {
"id": "43c1e944-6083-468c-9070-e9fb890b955d",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
{
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
},
{
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account"
}
},
{
"data": {
"id": "b57e62cc-77f4-4444-841e-3806bb66045d",
"type": "account"
}
},
{
"data": {
"id": "43331680-f1cc-4cc1-bd63-beb4f30d43c5",
"type": "account"
}
},
{
"data": {
"id": "fe0988ea-5dcc-427b-9522-04ad4d869297",
"type": "account"
}
},
{
"data": {
"id": "c2f48a80-4945-4324-8e01-65bb7be57996",
"type": "account"
}
},
{
"data": {
"id": "3ba7734b-79ef-4b59-9a4f-7a28f5cce717",
"type": "account"
}
},
{
"data": {
"id": "5d4db8cc-963c-4061-b04f-0b574684d379",
"type": "account"
}
},
{
"data": {
"id": "2e0e5256-74c7-426f-aaf4-fd0b1fe03ed4",
"type": "account"
}
},
{
"data": {
"id": "32dcc982-4f18-4e8a-82fc-670aec2d298e",
"type": "account"
}
},
{
"data": {
"id": "4a15515f-e037-4ada-96c1-6df15aef2ce3",
"type": "account"
}
},
{
"data": {
"id": "873c8bf5-a84b-4d0f-9b1b-db075298736f",
"type": "account"
}
},
{
"data": {
"id": "967ca418-ef69-4a40-a835-d41022066fac",
"type": "account"
}
},
{
"data": {
"id": "43c1e944-6083-468c-9070-e9fb890b955d",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/29416067-8042-4144-a238-d297cb062271"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-23",
"legal_name": "sub-acc-test-off-limit-legal_name-23",
"registration_id": "00000000-0000-1000-8000-2222222222-23",
"parent_id": "29416067-8042-4144-a238-d297cb062271"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< connection: close
< transfer-encoding: chunked
<
< {
"data": {
"id": "707580dc-f2db-40aa-af14-5982e10c3a21",
"type": "account",
"name": "sub-acc-test-off-limit-name-23",
"legal_name": "sub-acc-test-off-limit-legal_name-23",
"registration_id": "00000000-0000-1000-8000-2222222222-23",
"relationships": {
"parent": {
"data": {
"id": "29416067-8042-4144-a238-d297cb062271",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
{
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
},
{
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account"
}
},
{
"data": {
"id": "b57e62cc-77f4-4444-841e-3806bb66045d",
"type": "account"
}
},
{
"data": {
"id": "43331680-f1cc-4cc1-bd63-beb4f30d43c5",
"type": "account"
}
},
{
"data": {
"id": "fe0988ea-5dcc-427b-9522-04ad4d869297",
"type": "account"
}
},
{
"data": {
"id": "c2f48a80-4945-4324-8e01-65bb7be57996",
"type": "account"
}
},
{
"data": {
"id": "3ba7734b-79ef-4b59-9a4f-7a28f5cce717",
"type": "account"
}
},
{
"data": {
"id": "5d4db8cc-963c-4061-b04f-0b574684d379",
"type": "account"
}
},
{
"data": {
"id": "2e0e5256-74c7-426f-aaf4-fd0b1fe03ed4",
"type": "account"
}
},
{
"data": {
"id": "32dcc982-4f18-4e8a-82fc-670aec2d298e",
"type": "account"
}
},
{
"data": {
"id": "4a15515f-e037-4ada-96c1-6df15aef2ce3",
"type": "account"
}
},
{
"data": {
"id": "873c8bf5-a84b-4d0f-9b1b-db075298736f",
"type": "account"
}
},
{
"data": {
"id": "967ca418-ef69-4a40-a835-d41022066fac",
"type": "account"
}
},
{
"data": {
"id": "43c1e944-6083-468c-9070-e9fb890b955d",
"type": "account"
}
},
{
"data": {
"id": "29416067-8042-4144-a238-d297cb062271",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/707580dc-f2db-40aa-af14-5982e10c3a21"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-24",
"legal_name": "sub-acc-test-off-limit-legal_name-24",
"registration_id": "00000000-0000-1000-8000-2222222222-24",
"parent_id": "707580dc-f2db-40aa-af14-5982e10c3a21"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< connection: close
< transfer-encoding: chunked
<
< {
"data": {
"id": "37445c98-c41c-4c95-a70c-bb225df20092",
"type": "account",
"name": "sub-acc-test-off-limit-name-24",
"legal_name": "sub-acc-test-off-limit-legal_name-24",
"registration_id": "00000000-0000-1000-8000-2222222222-24",
"relationships": {
"parent": {
"data": {
"id": "707580dc-f2db-40aa-af14-5982e10c3a21",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "5b459199-93cd-4f89-8326-836aea071add",
"type": "account"
}
},
{
"data": {
"id": "d0bb9373-08ca-4295-aa05-6b0c535fa2a5",
"type": "account"
}
},
{
"data": {
"id": "cbf9a0e0-2f58-464b-8c34-ce74d9af76f8",
"type": "account"
}
},
{
"data": {
"id": "8a40c3a6-2bee-454f-a8f3-0615f2d97f9c",
"type": "account"
}
},
{
"data": {
"id": "7fb692a1-13f8-4bae-a89f-f8f015e45553",
"type": "account"
}
},
{
"data": {
"id": "25d5ccea-1f87-4e8a-9576-d6e00db53b82",
"type": "account"
}
},
{
"data": {
"id": "1255d375-3d85-43e3-9a54-91c08741d851",
"type": "account"
}
},
{
"data": {
"id": "7965c099-8c3f-4a5e-9d9f-4d32805e60f5",
"type": "account"
}
},
{
"data": {
"id": "474d9bff-75b2-4cad-bc03-58339f82204a",
"type": "account"
}
},
{
"data": {
"id": "b57e62cc-77f4-4444-841e-3806bb66045d",
"type": "account"
}
},
{
"data": {
"id": "43331680-f1cc-4cc1-bd63-beb4f30d43c5",
"type": "account"
}
},
{
"data": {
"id": "fe0988ea-5dcc-427b-9522-04ad4d869297",
"type": "account"
}
},
{
"data": {
"id": "c2f48a80-4945-4324-8e01-65bb7be57996",
"type": "account"
}
},
{
"data": {
"id": "3ba7734b-79ef-4b59-9a4f-7a28f5cce717",
"type": "account"
}
},
{
"data": {
"id": "5d4db8cc-963c-4061-b04f-0b574684d379",
"type": "account"
}
},
{
"data": {
"id": "2e0e5256-74c7-426f-aaf4-fd0b1fe03ed4",
"type": "account"
}
},
{
"data": {
"id": "32dcc982-4f18-4e8a-82fc-670aec2d298e",
"type": "account"
}
},
{
"data": {
"id": "4a15515f-e037-4ada-96c1-6df15aef2ce3",
"type": "account"
}
},
{
"data": {
"id": "873c8bf5-a84b-4d0f-9b1b-db075298736f",
"type": "account"
}
},
{
"data": {
"id": "967ca418-ef69-4a40-a835-d41022066fac",
"type": "account"
}
},
{
"data": {
"id": "43c1e944-6083-468c-9070-e9fb890b955d",
"type": "account"
}
},
{
"data": {
"id": "29416067-8042-4144-a238-d297cb062271",
"type": "account"
}
},
{
"data": {
"id": "707580dc-f2db-40aa-af14-5982e10c3a21",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/37445c98-c41c-4c95-a70c-bb225df20092"
}
}
| name | legal_name | registration_id | store_id | parent_id |
|---|---|---|---|---|
| sub-acc-test-off-limit-name-25 | sub-acc-test-off-limit-legal_name-25 | 00000000-0000-1000-8000-2222222222-25 | 00000000-0000-1000-8000-000000000000 | last |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-off-limit-name-25",
"legal_name": "sub-acc-test-off-limit-legal_name-25",
"registration_id": "00000000-0000-1000-8000-2222222222-25",
"parent_id": "37445c98-c41c-4c95-a70c-bb225df20092"
}
}
< HTTP ?.? 422 Unprocessable Entity
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 110
< connection: close
<
< {
"errors": [
{
"detail": "the depth of tree should not exceed 24",
"status": "422",
"title": "Unprocessable Entity"
}
]
}
| status | title | detail |
|---|---|---|
| 422 | Unprocessable Entity | the depth of tree should not exceed 24 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name | legal_name | registration_id | store_id | parent_id |
|---|---|---|---|---|
| sub-acc-test-parent-not-uuid-name | sub-acc-test-parent-not-uuid-legal_name | 00000000-0000-1000-8000-222222222222 | 00000000-0000-1000-8000-000000000000 | 00000000-0000-1000-8000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "sub-acc-test-parent-not-uuid-name",
"legal_name": "sub-acc-test-parent-not-uuid-legal_name",
"registration_id": "00000000-0000-1000-8000-222222222222",
"parent_id": "00000000-0000-1000-8000"
}
}
< HTTP ?.? 400 Bad Request
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 166
< connection: close
<
< {
"errors": [
{
"detail": "Key: 'CreateAccountParams.Data.ParentID' Error:Field validation for 'ParentID' failed on the 'uuid' tag",
"status": "400",
"title": "Bad Request"
}
]
}
| status | title | detail |
|---|---|---|
| 400 | Bad Request | Key: 'CreateAccountParams.Data.ParentID' Error:Field validation for 'ParentID' failed on the 'uuid' tag |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > POST http://localhost:8381/__admin/mappings/reset > Accept: application/json, text/plain, */* > Content-Type: application/x-www-form-urlencoded > User-Agent: axios/0.19.2 > < HTTP ?.? 200 OK < connection: close < server: Jetty(9.4.20.v20190813) < < ""
| name-prefix | legal_name-prefix | registration_id-prefix | store_id |
|---|---|---|---|
| test-delete-name | test-delete-legal_name | a1f3e4cc-cd42-4e38-a2c6-3177146cca | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "test-delete-name-1",
"legal_name": "test-delete-legal_name-1",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146cca-1"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 390
< connection: close
<
< {
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account",
"name": "test-delete-name-1",
"legal_name": "test-delete-legal_name-1",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146cca-1",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/a464d156-20fd-418c-97f7-3acfb149c9e0"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "test-delete-name-2",
"legal_name": "test-delete-legal_name-2",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146cca-2",
"parent_id": "a464d156-20fd-418c-97f7-3acfb149c9e0"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 575
< connection: close
<
< {
"data": {
"id": "52b27203-5472-46ef-a2ef-5f9577af6d43",
"type": "account",
"name": "test-delete-name-2",
"legal_name": "test-delete-legal_name-2",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146cca-2",
"relationships": {
"parent": {
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/52b27203-5472-46ef-a2ef-5f9577af6d43"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "test-delete-name-3",
"legal_name": "test-delete-legal_name-3",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146cca-3",
"parent_id": "52b27203-5472-46ef-a2ef-5f9577af6d43"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 647
< connection: close
<
< {
"data": {
"id": "beaf5600-4c53-46ab-9fdf-2a06fb58efcc",
"type": "account",
"name": "test-delete-name-3",
"legal_name": "test-delete-legal_name-3",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146cca-3",
"relationships": {
"parent": {
"data": {
"id": "52b27203-5472-46ef-a2ef-5f9577af6d43",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account"
}
},
{
"data": {
"id": "52b27203-5472-46ef-a2ef-5f9577af6d43",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/beaf5600-4c53-46ab-9fdf-2a06fb58efcc"
}
}
| name-prefix | legal_name-prefix | registration_id-prefix | store_id |
|---|---|---|---|
| test-delete-branch-1-name | test-delete-branch-1-legal_name | a1f3e4cc-cd42-4e38-a2c6-3177146ccbb | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "test-delete-branch-1-name-1",
"legal_name": "test-delete-branch-1-name-1",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146ccbb-1",
"parent_id": "beaf5600-4c53-46ab-9fdf-2a06fb58efcc"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 732
< connection: close
<
< {
"data": {
"id": "9753ba0e-9c01-4854-9042-3ff3c3d6edb1",
"type": "account",
"name": "test-delete-branch-1-name-1",
"legal_name": "test-delete-branch-1-name-1",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146ccbb-1",
"relationships": {
"parent": {
"data": {
"id": "beaf5600-4c53-46ab-9fdf-2a06fb58efcc",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account"
}
},
{
"data": {
"id": "52b27203-5472-46ef-a2ef-5f9577af6d43",
"type": "account"
}
},
{
"data": {
"id": "beaf5600-4c53-46ab-9fdf-2a06fb58efcc",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/9753ba0e-9c01-4854-9042-3ff3c3d6edb1"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "test-delete-branch-1-name-2",
"legal_name": "test-delete-branch-1-legal_name-2",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146ccbb-2",
"parent_id": "9753ba0e-9c01-4854-9042-3ff3c3d6edb1"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 810
< connection: close
<
< {
"data": {
"id": "afdc72fe-c9a2-4c6a-884c-9c0637fda7b6",
"type": "account",
"name": "test-delete-branch-1-name-2",
"legal_name": "test-delete-branch-1-legal_name-2",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146ccbb-2",
"relationships": {
"parent": {
"data": {
"id": "9753ba0e-9c01-4854-9042-3ff3c3d6edb1",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account"
}
},
{
"data": {
"id": "52b27203-5472-46ef-a2ef-5f9577af6d43",
"type": "account"
}
},
{
"data": {
"id": "beaf5600-4c53-46ab-9fdf-2a06fb58efcc",
"type": "account"
}
},
{
"data": {
"id": "9753ba0e-9c01-4854-9042-3ff3c3d6edb1",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/afdc72fe-c9a2-4c6a-884c-9c0637fda7b6"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "test-delete-branch-1-name-3",
"legal_name": "test-delete-branch-1-legal_name-3",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146ccbb-3",
"parent_id": "afdc72fe-c9a2-4c6a-884c-9c0637fda7b6"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 882
< connection: close
<
< {
"data": {
"id": "3e161fd8-7ce0-4c87-8e42-3ef29b181089",
"type": "account",
"name": "test-delete-branch-1-name-3",
"legal_name": "test-delete-branch-1-legal_name-3",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146ccbb-3",
"relationships": {
"parent": {
"data": {
"id": "afdc72fe-c9a2-4c6a-884c-9c0637fda7b6",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account"
}
},
{
"data": {
"id": "52b27203-5472-46ef-a2ef-5f9577af6d43",
"type": "account"
}
},
{
"data": {
"id": "beaf5600-4c53-46ab-9fdf-2a06fb58efcc",
"type": "account"
}
},
{
"data": {
"id": "9753ba0e-9c01-4854-9042-3ff3c3d6edb1",
"type": "account"
}
},
{
"data": {
"id": "afdc72fe-c9a2-4c6a-884c-9c0637fda7b6",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/3e161fd8-7ce0-4c87-8e42-3ef29b181089"
}
}
| name-prefix | legal_name-prefix | registration_id-prefix | store_id |
|---|---|---|---|
| test-delete-branch-2-name | test-delete-branch-2-legal_name | a1f3e4cc-cd42-4e38-a2c6-3177146cccc | 00000000-0000-1000-8000-000000000000 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "test-delete-branch-2-name-1",
"legal_name": "test-delete-branch-2-name-1",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146cccc-1",
"parent_id": "beaf5600-4c53-46ab-9fdf-2a06fb58efcc"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 732
< connection: close
<
< {
"data": {
"id": "7c08d6cf-3e8c-4e70-bb21-d2a3d06990aa",
"type": "account",
"name": "test-delete-branch-2-name-1",
"legal_name": "test-delete-branch-2-name-1",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146cccc-1",
"relationships": {
"parent": {
"data": {
"id": "beaf5600-4c53-46ab-9fdf-2a06fb58efcc",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account"
}
},
{
"data": {
"id": "52b27203-5472-46ef-a2ef-5f9577af6d43",
"type": "account"
}
},
{
"data": {
"id": "beaf5600-4c53-46ab-9fdf-2a06fb58efcc",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/7c08d6cf-3e8c-4e70-bb21-d2a3d06990aa"
}
}
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "test-delete-branch-2-name-2",
"legal_name": "test-delete-branch-2-legal_name-2",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146cccc-2",
"parent_id": "7c08d6cf-3e8c-4e70-bb21-d2a3d06990aa"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 810
< connection: close
<
< {
"data": {
"id": "be67351c-c103-445e-b031-6f15cb19a9ff",
"type": "account",
"name": "test-delete-branch-2-name-2",
"legal_name": "test-delete-branch-2-legal_name-2",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146cccc-2",
"relationships": {
"parent": {
"data": {
"id": "7c08d6cf-3e8c-4e70-bb21-d2a3d06990aa",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account"
}
},
{
"data": {
"id": "52b27203-5472-46ef-a2ef-5f9577af6d43",
"type": "account"
}
},
{
"data": {
"id": "beaf5600-4c53-46ab-9fdf-2a06fb58efcc",
"type": "account"
}
},
{
"data": {
"id": "7c08d6cf-3e8c-4e70-bb21-d2a3d06990aa",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/be67351c-c103-445e-b031-6f15cb19a9ff"
}
}
| name | legal_name | registration_id | store_id | parent_id |
|---|---|---|---|---|
| test-delete-branch-3-name-1 | test-delete-branch-3-legal_name-1 | a1f3e4cc-cd42-4e38-a2c6-3177146ccd6a | 00000000-0000-1000-8000-000000000000 | previous-3 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> POST http://localhost:8087/v2/accounts
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
> {
"data": {
"type": "account",
"name": "test-delete-branch-3-name-1",
"legal_name": "test-delete-branch-3-legal_name-1",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146ccd6a",
"parent_id": "beaf5600-4c53-46ab-9fdf-2a06fb58efcc"
}
}
< HTTP ?.? 201 Created
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 737
< connection: close
<
< {
"data": {
"id": "dc841e7f-7e91-4ce2-ac7b-27b406249613",
"type": "account",
"name": "test-delete-branch-3-name-1",
"legal_name": "test-delete-branch-3-legal_name-1",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146ccd6a",
"relationships": {
"parent": {
"data": {
"id": "beaf5600-4c53-46ab-9fdf-2a06fb58efcc",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account"
}
},
{
"data": {
"id": "52b27203-5472-46ef-a2ef-5f9577af6d43",
"type": "account"
}
},
{
"data": {
"id": "beaf5600-4c53-46ab-9fdf-2a06fb58efcc",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/dc841e7f-7e91-4ce2-ac7b-27b406249613"
}
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 | previous-4 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > DELETE http://localhost:8087/v2/accounts/9753ba0e-9c01-4854-9042-3ff3c3d6edb1 > Accept: application/json, text/plain, */* > Content-Type: application/json > X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000 > User-Agent: axios/0.19.2 > < HTTP ?.? 204 No Content < content-type: application/json; charset=utf-8 < date: Thu, 15 Apr 2021 19:09:35 GMT < connection: close < < ""
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 | previous-4 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/9753ba0e-9c01-4854-9042-3ff3c3d6edb1
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 78
< connection: close
<
< {
"errors": [
{
"detail": "account not found",
"status": "404",
"title": "Not Found"
}
]
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 | previous-5 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/afdc72fe-c9a2-4c6a-884c-9c0637fda7b6
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 78
< connection: close
<
< {
"errors": [
{
"detail": "account not found",
"status": "404",
"title": "Not Found"
}
]
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 | previous-6 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/3e161fd8-7ce0-4c87-8e42-3ef29b181089
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 78
< connection: close
<
< {
"errors": [
{
"detail": "account not found",
"status": "404",
"title": "Not Found"
}
]
}
| status | title | detail |
|---|---|---|
| 404 | Not Found | account not found |
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 | previous-1 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/a464d156-20fd-418c-97f7-3acfb149c9e0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 390
< connection: close
<
< {
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account",
"name": "test-delete-name-1",
"legal_name": "test-delete-legal_name-1",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146cca-1",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/a464d156-20fd-418c-97f7-3acfb149c9e0"
}
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 | previous-2 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/52b27203-5472-46ef-a2ef-5f9577af6d43
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 575
< connection: close
<
< {
"data": {
"id": "52b27203-5472-46ef-a2ef-5f9577af6d43",
"type": "account",
"name": "test-delete-name-2",
"legal_name": "test-delete-legal_name-2",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146cca-2",
"relationships": {
"parent": {
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/52b27203-5472-46ef-a2ef-5f9577af6d43"
}
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 | previous-3 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/beaf5600-4c53-46ab-9fdf-2a06fb58efcc
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 647
< connection: close
<
< {
"data": {
"id": "beaf5600-4c53-46ab-9fdf-2a06fb58efcc",
"type": "account",
"name": "test-delete-name-3",
"legal_name": "test-delete-legal_name-3",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146cca-3",
"relationships": {
"parent": {
"data": {
"id": "52b27203-5472-46ef-a2ef-5f9577af6d43",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account"
}
},
{
"data": {
"id": "52b27203-5472-46ef-a2ef-5f9577af6d43",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/beaf5600-4c53-46ab-9fdf-2a06fb58efcc"
}
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 | previous-7 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/7c08d6cf-3e8c-4e70-bb21-d2a3d06990aa
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 732
< connection: close
<
< {
"data": {
"id": "7c08d6cf-3e8c-4e70-bb21-d2a3d06990aa",
"type": "account",
"name": "test-delete-branch-2-name-1",
"legal_name": "test-delete-branch-2-name-1",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146cccc-1",
"relationships": {
"parent": {
"data": {
"id": "beaf5600-4c53-46ab-9fdf-2a06fb58efcc",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account"
}
},
{
"data": {
"id": "52b27203-5472-46ef-a2ef-5f9577af6d43",
"type": "account"
}
},
{
"data": {
"id": "beaf5600-4c53-46ab-9fdf-2a06fb58efcc",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/7c08d6cf-3e8c-4e70-bb21-d2a3d06990aa"
}
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 | previous-3 |
**** Approximate HTTP Request & Response w/ Some Post Processing **** > DELETE http://localhost:8087/v2/accounts/beaf5600-4c53-46ab-9fdf-2a06fb58efcc > Accept: application/json, text/plain, */* > Content-Type: application/json > X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000 > User-Agent: axios/0.19.2 > < HTTP ?.? 204 No Content < content-type: application/json; charset=utf-8 < date: Thu, 15 Apr 2021 19:09:35 GMT < connection: close < < ""
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 | previous-3 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/beaf5600-4c53-46ab-9fdf-2a06fb58efcc
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 78
< connection: close
<
< {
"errors": [
{
"detail": "account not found",
"status": "404",
"title": "Not Found"
}
]
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 | previous-7 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/7c08d6cf-3e8c-4e70-bb21-d2a3d06990aa
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 404 Not Found
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 78
< connection: close
<
< {
"errors": [
{
"detail": "account not found",
"status": "404",
"title": "Not Found"
}
]
}
| status | title | detail |
|---|---|---|
| 404 | Not Found | account not found |
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 | previous-1 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/a464d156-20fd-418c-97f7-3acfb149c9e0
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 390
< connection: close
<
< {
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account",
"name": "test-delete-name-1",
"legal_name": "test-delete-legal_name-1",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146cca-1",
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/a464d156-20fd-418c-97f7-3acfb149c9e0"
}
}
| store_id | id |
|---|---|
| 00000000-0000-1000-8000-000000000000 | previous-2 |
**** Approximate HTTP Request & Response w/ Some Post Processing ****
> GET http://localhost:8087/v2/accounts/52b27203-5472-46ef-a2ef-5f9577af6d43
> Accept: application/json, text/plain, */*
> Content-Type: application/json
> X-Moltin-Auth-Store: 00000000-0000-1000-8000-000000000000
> User-Agent: axios/0.19.2
>
< HTTP ?.? 200 OK
< content-type: application/json; charset=utf-8
< date: Thu, 15 Apr 2021 19:09:35 GMT
< content-length: 575
< connection: close
<
< {
"data": {
"id": "52b27203-5472-46ef-a2ef-5f9577af6d43",
"type": "account",
"name": "test-delete-name-2",
"legal_name": "test-delete-legal_name-2",
"registration_id": "a1f3e4cc-cd42-4e38-a2c6-3177146cca-2",
"relationships": {
"parent": {
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account"
}
},
"ancestors": [
{
"data": {
"id": "a464d156-20fd-418c-97f7-3acfb149c9e0",
"type": "account"
}
}
]
},
"meta": {
"timestamps": {
"created_at": "2021-04-15T19:09:35.884Z",
"updated_at": "2021-04-15T19:09:35.884Z"
}
}
},
"links": {
"self": "http://localhost:8087/v2/accounts/52b27203-5472-46ef-a2ef-5f9577af6d43"
}
}